|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An attribute record contains a list of attributes. Itself can be the value of another attribute to form attribute hierarchy. Notice it has an immutable interface.
Method Summary | |
boolean |
equals(java.lang.Object obj)
Determine whether two objects are equal. |
Attribute |
getAttribute(java.lang.String key)
Return the first attribute with specified key. |
java.util.List |
getAttributes()
Return the list of all attributes. |
java.util.List |
getAttributes(java.lang.String key)
Return all the attributes with specified key. |
java.util.List |
getKeys()
Return the list of all keys. |
java.lang.Object |
getValue(java.lang.String key)
Return the value of an attribute with the specified key. |
java.util.List |
getValues()
Return the list of all values. |
java.util.List |
getValues(java.lang.String key)
Return the values of all attributes with the specified key. |
Methods inherited from interface solar.api.Adu |
toBytes, toString |
Method Detail |
public Attribute getAttribute(java.lang.String key)
public java.util.List getAttributes(java.lang.String key)
public java.util.List getAttributes()
public java.util.List getKeys()
public java.util.List getValues()
public java.lang.Object getValue(java.lang.String key)
public java.util.List getValues(java.lang.String key)
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |