|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Attributable
An object that has attributes.
| Method Summary | |
|---|---|
void |
clearAttributes()
Tells the object to clear all of its attributes. |
java.lang.Object |
getAttribute(java.lang.Object key)
Get the attribute stored under a key. |
java.util.Map<?,?> |
getAttributes()
Convenience method to allow super class methods access to an attribute table if they are acting as a wrapper. |
void |
putAttribute(java.lang.Object key,
java.lang.Object value)
Put an attribute in the object, the value can be retrieved later via the key. |
void |
setAttributes(java.util.Map<?,?> map)
Convenience method to allow super class methods access to an attribute table if they are acting as a wrapper. |
| Method Detail |
|---|
void putAttribute(java.lang.Object key,
java.lang.Object value)
key - attribute keyvalue - attribute valuejava.lang.Object getAttribute(java.lang.Object key)
key - attribute key
void clearAttributes()
java.util.Map<?,?> getAttributes()
void setAttributes(java.util.Map<?,?> map)
map - Map of all attributes
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||