cz.cmc.tcgui.datadef
Class AttributeTypeVariant
java.lang.Object
cz.cmc.tcgui.datadef.AttributeType
cz.cmc.tcgui.datadef.AttributeTypeVariant
- All Implemented Interfaces:
- Cloneable
- public class AttributeTypeVariant
- extends AttributeType
AttributeTypeVariant is used for attributes which store custom value.
Method Summary |
String |
getId()
Returns id of this AttributeTypeVariant. |
String |
toString()
Returns String representing this object. |
AttributeTypeVariant
public AttributeTypeVariant(String id)
- Creates new AttributeTypeVariant with given id.
- Parameters:
id
- id of new variant
getId
public String getId()
- Returns id of this AttributeTypeVariant.
- Returns:
- id of this variant
toString
public String toString()
- Returns String representing this object.
- Specified by:
toString
in class AttributeType
- Returns:
- String representation of this object