Class Attribute
- java.lang.Object
 - 
- com.cheetahdigital.corekit.models.data.BaseData
 - 
- com.cheetahdigital.rewards.core.model.Attribute
 
 
 
- 
public class Attribute extends BaseData
 
- 
- 
Constructor Summary
Constructors Constructor Description Attribute() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<AttributeOption>getAttributeOptions()java.lang.StringgetDataType()Returns the data type of the Attribute (e.g.java.lang.StringgetHint()Returns the hint for the Attributejava.lang.StringgetLabel()Returns the label of the attributejava.lang.StringgetName()Returns the name of the attributevoidsetAttributeOptions(java.util.List<AttributeOption> attributeOptions)Sets the attribute options for this AttributevoidsetDataType(java.lang.String dataType)Sets the data type of the AttributevoidsetHint(java.lang.String hint)Sets the hint of the AttributevoidsetLabel(java.lang.String label)Sets the label of the attributevoidsetName(java.lang.String name)Sets the name of the attribute- 
Methods inherited from class com.cheetahdigital.corekit.models.data.BaseData
getId, getIntegrationId, setId, setIntegrationId 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getName
public java.lang.String getName()
Returns the name of the attribute- Returns:
 Stringname
 
- 
setName
public void setName(java.lang.String name)
Sets the name of the attribute- Parameters:
 name-Stringname of Attribute
 
- 
getLabel
public java.lang.String getLabel()
Returns the label of the attribute- Returns:
 Stringlabel
 
- 
setLabel
public void setLabel(java.lang.String label)
Sets the label of the attribute- Parameters:
 label-Stringlabel
 
- 
getDataType
public java.lang.String getDataType()
Returns the data type of the Attribute (e.g. string, int)- Returns:
 Stringdata type
 
- 
setDataType
public void setDataType(java.lang.String dataType)
Sets the data type of the Attribute- Parameters:
 dataType-Stringdatatype
 
- 
getHint
public java.lang.String getHint()
Returns the hint for the Attribute- Returns:
 Stringhint
 
- 
setHint
public void setHint(java.lang.String hint)
Sets the hint of the Attribute- Parameters:
 hint-Stringhint
 
- 
getAttributeOptions
public java.util.List<AttributeOption> getAttributeOptions()
- Returns:
 - a list of 
AttributeOption 
 
- 
setAttributeOptions
public void setAttributeOptions(java.util.List<AttributeOption> attributeOptions)
Sets the attribute options for this Attribute- Parameters:
 attributeOptions- list ofAttributeOption
 
 - 
 
 -