public final class IntegerAttribute extends SimpleAttribute implements java.lang.Comparable<IntegerAttribute>
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IntegerAttribute o)
Compares this attribute to the given one.
|
int |
getValue()
Returns the numeric value of this attribute.
|
java.lang.String |
getValueAsString()
Returns a string representation of this attribute's value.
|
getAttributeDesc, getDesc, getExpType, getName, setDescpublic int getValue()
public int compareTo(IntegerAttribute o)
compareTo in interface java.lang.Comparable<IntegerAttribute>o - the attribute to compare this topublic java.lang.String getValueAsString()
AttributegetValueAsString in class Attribute