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(StringBuilder toStringBuilder) |
void |
removeExtraAttribute(String name)
Removes a dynamic attribute from the repository
|
String |
toString() |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
public 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(StringBuilder toStringBuilder)
public String toString()
toString
in class Object
Copyright © 2019. All rights reserved.