|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--monrovia.tools.ParameterMap
Parameter map with types and values.
Constructor Summary | |
ParameterMap()
Constructor. |
Method Summary | |
void |
add(java.lang.String pKey,
java.lang.Class pType)
Add a key to this map. |
java.lang.Object |
get(java.lang.String pKey)
Get parameter value. |
java.lang.Class |
getType(java.lang.String pKey)
Get type for the given key. |
java.util.Map |
getValueMap()
Get unmodifiable version of the value map. |
boolean |
isChanged()
Returns true, if the values has been changed after last sync. |
java.lang.Object |
remove(java.lang.String pKey)
Remove a key from this map. |
void |
reset()
Set the stored values as the current ones and set the changed flag to false. |
void |
set(java.lang.String pKey,
java.lang.Object pValue)
Set value for a key. |
void |
sync()
Set the current values as the stored ones and set the changed flag to false. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ParameterMap()
Method Detail |
public void add(java.lang.String pKey, java.lang.Class pType)
pKey
- the key to addpType
- type for the keypublic java.lang.Object remove(java.lang.String pKey)
pKey
- the key to removepublic java.lang.Class getType(java.lang.String pKey)
pKey
- the keypublic void set(java.lang.String pKey, java.lang.Object pValue)
pKey
- the key to usepValue
- the value for the keypublic java.lang.Object get(java.lang.String pKey)
the
- the key to usepublic java.util.Map getValueMap()
public void sync()
public void reset()
public boolean isChanged()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |