|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.joda.property.impl.AbstractModelElement
Abstract ModelElement provides the implementation of the attributes common to Beans and Properties
Constructor Summary | |
AbstractModelElement()
Constructor. |
Method Summary | |
java.lang.String |
getAttribute(java.lang.String key)
Get an attribute by key. |
int |
getAttributeCount()
Get the count of attributes. |
java.util.Map |
getAttributeMap()
Get the Map of string to string attributes. |
void |
setAttribute(java.lang.String key,
java.lang.String value)
Set an attribute key and value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AbstractModelElement()
Method Detail |
public java.lang.String getAttribute(java.lang.String key)
ModelElement
getAttribute
in interface ModelElement
key
- the key to get
ModelElement.getAttribute(String)
public int getAttributeCount()
ModelElement
getAttributeCount
in interface ModelElement
ModelElement.getAttributeCount()
public java.util.Map getAttributeMap()
ModelElement
getAttributeMap
in interface ModelElement
ModelElement.getAttributeMap()
public void setAttribute(java.lang.String key, java.lang.String value)
ModelElement
setAttribute
in interface ModelElement
key
- the key to setvalue
- the value to setModelElement.setAttribute(String, String)
|
Joda System API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |