Class AttributeOption
- java.lang.Object
-
- com.cheetahdigital.corekit.models.data.BaseData
-
- com.cheetahdigital.rewards.core.model.AttributeOption
-
-
Constructor Summary
Constructors Constructor Description AttributeOption()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAttributeId()
java.lang.String
getCode()
Returns the code of the Attribute optionjava.lang.String
getHint()
Returns the hint to describe this attribute optionjava.lang.String
getLabel()
Returns the label of the Attribute optionboolean
isDefault()
Returns if the attribute option is set to default.void
setAttributeId(int attributeId)
void
setCode(java.lang.String code)
Sets the code of the Attribute optionvoid
setDefault(boolean aDefault)
Sets the attribute option to be the default attribute optionvoid
setHint(java.lang.String hint)
Sets the hint of this attribute optionvoid
setLabel(java.lang.String label)
Sets the label of the attribute option-
Methods inherited from class com.cheetahdigital.corekit.models.data.BaseData
getId, getIntegrationId, setId, setIntegrationId
-
-
-
-
Method Detail
-
getAttributeId
public int getAttributeId()
-
setAttributeId
public void setAttributeId(int attributeId)
-
getCode
public java.lang.String getCode()
Returns the code of the Attribute option- Returns:
String
code
-
setCode
public void setCode(java.lang.String code)
Sets the code of the Attribute option- Parameters:
code
-String
-
getLabel
public java.lang.String getLabel()
Returns the label of the Attribute option- Returns:
String
label
-
setLabel
public void setLabel(java.lang.String label)
Sets the label of the attribute option- Parameters:
label
-String
-
isDefault
public boolean isDefault()
Returns if the attribute option is set to default. If attribute options is default, it should be selected- Returns:
boolean
-
setDefault
public void setDefault(boolean aDefault)
Sets the attribute option to be the default attribute option- Parameters:
aDefault
- true to indicated this attribute as default, else false
-
getHint
public java.lang.String getHint()
Returns the hint to describe this attribute option- Returns:
String
hint
-
setHint
public void setHint(java.lang.String hint)
Sets the hint of this attribute option- Parameters:
hint
-String
-
-