|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Mapped
Simple interface to describe an object that can set and return its public properties via a Map. business logic object.
Method Summary | |
---|---|
Map |
getMap()
Return a Map of this object's public properties. |
Object |
getValue(Object key)
Returns the value to which this map maps the specified key -- the equivalent of Object getMap().get(key). |
void |
setMap(Map map)
Set this object's public properties via a Map. |
Object |
setValue(Object key,
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 |
---|
Map getMap() throws Exception
Throws
- Exception on any error. A subclass of
ChainedException is recommended.
Exception
void setMap(Map map) throws Exception
Throws
- Exception on any error. A subclass of
ChainedException is recommended.
Exception
Object getValue(Object key) throws 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.
Exception
Object setValue(Object key, Object value) throws 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.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |