|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Simple interface to describe an object that can set and return its public properties via a Map. business logic object.
| Method Summary | |
java.util.Map |
getMap()
Return a Map of this object's public properties. |
java.lang.Object |
getValue(java.lang.Object key)
Returns the value to which this map maps the specified key -- the equivalent of Object getMap().get(key). |
void |
setMap(java.util.Map map)
Set this object's public properties via a Map. |
java.lang.Object |
setValue(java.lang.Object key,
java.lang.Object value)
Associates the specified value with the specified key in the property map for this object -- the equivalent of getMap().put(key,value). |
| Method Detail |
public java.util.Map getMap()
throws java.lang.Exception
Throws - Exception on any error. A subclass of
ChainedException is recommended.
java.lang.Exception
public void setMap(java.util.Map map)
throws java.lang.Exception
Throws - Exception on any error. A subclass of
ChainedException is recommended.
java.lang.Exception
public java.lang.Object getValue(java.lang.Object key)
throws java.lang.Exception
Object getMap().get(key).
- Parameters:
key - - key whose associated value is to be returned.
- Throws:
Throws - Exception on any error. A subclass of
ChainedException is recommended.
java.lang.Exception
public java.lang.Object setValue(java.lang.Object key,
java.lang.Object value)
throws java.lang.Exception
getMap().put(key,value).
- Parameters:
key - - key with which the specified value is to be associated.value - - value to be associated with the specified key.
- Throws:
Throws - Exception on any error. A subclass of
ChainedException is recommended.
java.lang.Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||