|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.livetribe.slp.Attributes.Entry
public static class Attributes.Entry
Represent the attribute value within the Attributes
class.
An Entry
encapsulates the attribute value(s) and type.
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Object |
getValue()
Returns the value of this entry (in case it is single valued), or the first value of this entry (in case it is multivalued). |
Object[] |
getValues()
Returns the values of this entry (in case it is multivalued), or the value of this entry, wrapped in an array of length 1 (in case it is single valued). |
int |
hashCode()
|
boolean |
isBooleanType()
Returns true if this entry is of type boolean. |
boolean |
isLongType()
Returns true if this entry is of type long (a natural number). |
boolean |
isOpaqueType()
Returns true if this entry is of type opaque. |
boolean |
isPresenceType()
Returns true if this entry represent only the presence of a tag with no value. |
boolean |
isStringType()
Returns true if this entry is of type string. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isStringType()
public boolean isLongType()
public boolean isBooleanType()
public boolean isOpaqueType()
public boolean isPresenceType()
public Object getValue()
public Object[] getValues()
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |