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 intgetAttributeId()java.lang.StringgetCode()Returns the code of the Attribute optionjava.lang.StringgetHint()Returns the hint to describe this attribute optionjava.lang.StringgetLabel()Returns the label of the Attribute optionbooleanisDefault()Returns if the attribute option is set to default.voidsetAttributeId(int attributeId)voidsetCode(java.lang.String code)Sets the code of the Attribute optionvoidsetDefault(boolean aDefault)Sets the attribute option to be the default attribute optionvoidsetHint(java.lang.String hint)Sets the hint of this attribute optionvoidsetLabel(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:
Stringcode
-
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:
Stringlabel
-
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:
Stringhint
-
setHint
public void setHint(java.lang.String hint)
Sets the hint of this attribute option- Parameters:
hint-String
-
-