public interface Attributable
Modifier and Type | Interface and Description |
---|---|
static class |
Attributable.Utils |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name) |
java.util.Map<java.lang.String,java.lang.Object> |
getAttributeMap()
Gets the entire attribute map.
|
java.util.Set<java.lang.String> |
getAttributeNames() |
void |
removeAttribute(java.lang.String name) |
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Sets an named attribute for this object.
|
void setAttribute(java.lang.String name, java.lang.Object value)
name
- the name of the attribute.value
- the new value of the attribute.java.lang.Object getAttribute(java.lang.String name)
name
- the name of the attribute of interest, or null if the attribute doesn't exist.void removeAttribute(java.lang.String name)
name
- name of attribute to removejava.util.Set<java.lang.String> getAttributeNames()
java.util.Map<java.lang.String,java.lang.Object> getAttributeMap()
http://code.google.com/p/jebl2/