public final class StringAttribute extends SimpleAttribute
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(StringAttribute att)
Returns true, if this attribute equals the given attribute.
|
java.lang.String |
getValue()
Gets the value of this attribute.
|
java.lang.String |
getValueAsString()
Returns a string representation of this attribute's value.
|
int |
hashCode() |
java.lang.String |
toString()
Returns the string representation of this attribute's value.
|
getAttributeDesc, getDesc, getExpType, getName, setDescpublic java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getValueAsString()
AttributegetValueAsString in class Attributepublic boolean equals(StringAttribute att)
att - the attribute to be compared with this.public int hashCode()
hashCode in class java.lang.Object