|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cafesoft.cams.attr.AbstractAttributeValue
com.cafesoft.cams.attr.StringAttributeValue
public class StringAttributeValue
StringAttributeValue represents an attribute value of type:
urn:cams:1.0:names:data-type:string.
| Field Summary | |
|---|---|
static String |
DATA_TYPE_ID
Official Cams data type identifer of this type |
| Constructor Summary | |
|---|---|
StringAttributeValue(String value)
Creates a new StringAttributeValue that represents the
supplied String value. |
|
| Method Summary | |
|---|---|
String |
encode()
Returns the String encoding of the attribute value. |
boolean |
equals(Object o)
Returns true if the input is an instance of this class and if its value equals the value contained in this class. |
String |
getValue()
Returns the String value represented by this object. |
int |
hashCode()
Returns the hashcode value used to index and compare this object with others of the same type. |
String |
toString()
Converts to a String representation. |
| Methods inherited from class com.cafesoft.cams.attr.AbstractAttributeValue |
|---|
evaluate, evaluatesToBag, getType, isBag |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String DATA_TYPE_ID
| Constructor Detail |
|---|
public StringAttributeValue(String value)
StringAttributeValue that represents the
supplied String value.
value - the String value to be represented by
by this attribute.| Method Detail |
|---|
public String getValue()
String value represented by this object.
String valuepublic boolean equals(Object o)
equals in class Objecto - the object to compare
public int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic String encode()
encode in interface AttributeValueencode in class AbstractAttributeValueString form of the value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||