|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for allowing TWGObject subclasses to support simple attribute access and manipulation through textual attribute names.
Method Summary | |
---|---|
java.lang.String[] |
getAttributeIDList()
Attribute ID enumeration : this method is expected to return a list of strings containing the String names of the attributes supported for a given object. |
int |
getAttributeType(java.lang.String id)
Get type of attribute value for given attribute |
DataValue |
getAttributeValue(java.lang.String id,
java.util.Locale loc)
Get value of attribute with given ID |
boolean |
setAttributeValue(java.lang.String id,
DataValue val)
Set value of attribute with given ID |
Method Detail |
public java.lang.String[] getAttributeIDList()
public DataValue getAttributeValue(java.lang.String id, java.util.Locale loc)
id
- - attribute ID requestedloc
- - locale to use for value, if applicable
public boolean setAttributeValue(java.lang.String id, DataValue val)
id
- - attribute ID to be setval
- - attribute value to be set
public int getAttributeType(java.lang.String id)
id
- - attribute ID
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |