public class DynamicAttributesDescriptor extends Observable implements Serializable
| Constructor and Description |
|---|
DynamicAttributesDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addExtraAttribute(String name,
Object value)
Add a new dynamic attribte
|
Object |
getExtraAttribute(String name)
Obtain a dynamic attribute from the repository
|
Map |
getExtraAttributes()
Direct acess to the dynamic attributes repository
|
void |
print(StringBuffer toStringBuffer) |
void |
removeExtraAttribute(String name)
Removes a dynamic attribute from the repository
|
String |
toString() |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic Map getExtraAttributes()
public void addExtraAttribute(String name, Object value)
name - the attribute namevalue - the attribute valuepublic Object getExtraAttribute(String name)
name - the attribute namepublic void removeExtraAttribute(String name)
name - the attribute namepublic void print(StringBuffer toStringBuffer)
public String toString()
toString in class ObjectCopyright © 2017–2020 Eclipse Foundation. All rights reserved.