cz.cmc.tcgui.datadef
Class AttributeTypeInt
java.lang.Object
cz.cmc.tcgui.datadef.AttributeType
cz.cmc.tcgui.datadef.AttributeTypeNumber
cz.cmc.tcgui.datadef.AttributeTypeInt
- All Implemented Interfaces:
- Cloneable
- public class AttributeTypeInt
- extends AttributeTypeNumber
AttributeTypeInt is used to mark attributes which store int value.
|
Constructor Summary |
AttributeTypeInt()
Creates new AttributeTypeInt with "positive" and "nonzero" flags set to false. |
AttributeTypeInt(boolean positive,
boolean nonzero)
Creates new AttributeTypeInt with "positive" and "nonzero" flags set to given values. |
|
Method Summary |
String |
toString()
Returns String representing this object. |
AttributeTypeInt
public AttributeTypeInt()
- Creates new AttributeTypeInt with "positive" and "nonzero" flags set to false.
AttributeTypeInt
public AttributeTypeInt(boolean positive,
boolean nonzero)
- Creates new AttributeTypeInt with "positive" and "nonzero" flags set to given values.
- Parameters:
positive - boolean value to which to set the "positive" flag tononzero - boolean value to which to set the "nonzero" flag to
toString
public String toString()
- Returns String representing this object.
- Overrides:
toString in class AttributeTypeNumber
- Returns:
- String representation of this object