|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ReadWriteInfo
A generic store of key-value pairs whose contents are checked against certain conditions during management operations.
| Method Summary | |
|---|---|
void |
removeValue(String key)
Removes the value associated with the given key in the receiver's map. |
void |
removeValueIfSet(String key)
Removes the value associated with the given key in the receiver's map. |
void |
setValue(String key,
Object value)
Sets the value associated with the given key to the given value in the receiver's map. |
void |
setValueIfUnset(String key,
Object value)
Sets the value associated with the given key to the given value in the receiver's map. |
| Methods inherited from interface org.marketcetera.ors.info.ReadInfo |
|---|
contains, getName, getPath, getValue, getValueIfInstanceOf, getValueIfNonNull, getValueIfNonNullInstanceOf, getValueIfSet |
| Method Detail |
|---|
void setValue(String key,
Object value)
key - The key.value - The value. It may be null.
void setValueIfUnset(String key,
Object value)
throws InfoException
key - The key.value - The value. It may be null.
InfoException - Thrown if a value is already associated
with the given key.void removeValue(String key)
key - The key.
void removeValueIfSet(String key)
throws InfoException
key - The key.
InfoException - Thrown if no value is associated with the
given key.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||