|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Attributable
Interface for associating attributeNames with an object.
| Nested Class Summary | |
|---|---|
static class |
Attributable.Utils
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
|
Map<String,Object> |
getAttributeMap()
Gets the entire attribute map. |
Set<String> |
getAttributeNames()
|
void |
removeAttribute(String name)
|
void |
setAttribute(String name,
Object value)
Sets an named attribute for this object. |
| Method Detail |
|---|
void setAttribute(String name,
Object value)
name - the name of the attribute.value - the new value of the attribute.Object getAttribute(String name)
name - the name of the attribute of interest.
void removeAttribute(String name)
name - name of attribute to removeSet<String> getAttributeNames()
Map<String,Object> getAttributeMap()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||