cz.cmc.tcgui.datadef
Class AttributeTypeVariant

java.lang.Object
  extended bycz.cmc.tcgui.datadef.AttributeType
      extended bycz.cmc.tcgui.datadef.AttributeTypeVariant
All Implemented Interfaces:
Cloneable

public class AttributeTypeVariant
extends AttributeType

AttributeTypeVariant is used for attributes which store custom value.


Constructor Summary
AttributeTypeVariant(String id)
          Creates new AttributeTypeVariant with given id.
 
Method Summary
 String getId()
          Returns id of this AttributeTypeVariant.
 String toString()
          Returns String representing this object.
 
Methods inherited from class cz.cmc.tcgui.datadef.AttributeType
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeTypeVariant

public AttributeTypeVariant(String id)
Creates new AttributeTypeVariant with given id.

Parameters:
id - id of new variant
Method Detail

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