public interface Attributable
Modifier and Type | Method and Description |
---|---|
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.
|
void putAttribute(java.lang.Object key, java.lang.Object value)
key
- value
- java.lang.Object getAttribute(java.lang.Object key)
key
- void clearAttributes()
java.util.Map<?,?> getAttributes()
void setAttributes(java.util.Map<?,?> map)
map
- Map of all attributesCopyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details