com.ibm.websphere.batch.context
Interface PersistentMap
All Superinterfaces:
java.io.Externalizable, java.io.Serializable
- public interface PersistentMap
- extends java.io.Externalizable
Method Summary
Modifier and Type | Method and Description |
---|---|
|
containsKey(java.lang.String key)
Returns true if this map contains a mapping for the specified key
|
|
getBoolean(java.lang.String key)
Returns the boolean value for the specified key.
|
|
getDouble(java.lang.String key)
Returns the double value for the specified key.
|
|
getInt(java.lang.String key)
Returns the int value for the specified key.
|
|
getLong(java.lang.String key)
Returns the long value for the specified key.
|
|
getString(java.lang.String key)
Returns the String value for the specified key.
|
|
setBoolean(java.lang.String key,boolean value)
Associates the specified boolean value with the specified key in this map.
|
|
setDouble(java.lang.String key,double value)
Associates the specified double value with the specified key in this map.
|
|
setInt(java.lang.String key,int value)
Associates the specified int value with the specified key in this map.
|
|
setLong(java.lang.String key,long value)
Associates the specified long value with the specified key in this map.
|
|
setString(java.lang.String key,java.lang.String value)
Associates the specified String value with the specified key in this map.
|
Methods inherited from interface java.io.Externalizable |
---|
readExternal, writeExternal |
Method Detail
containsKey
- boolean containsKey(java.lang.String key)
Returns true if this map contains a mapping for the specified key
Parameters:
key
- Returns:
true or false
getBoolean
- boolean getBoolean(java.lang.String key)
- throws BatchContainerPersistentContextException
Returns the boolean value for the specified key. If the key does not exist or
the value cannot be mapped to a boolean, a BatchContainerPersistentContextException
is thrown.
setBoolean
- void setBoolean(java.lang.String key,
- boolean value)
Associates the specified boolean value with the specified key in this map.
Parameters:
key
- getDouble
- double getDouble(java.lang.String key)
- throws BatchContainerPersistentContextException
Returns the double value for the specified key. If the key does not exist or
the value cannot be mapped to a double, a BatchContainerPersistentContextException
is thrown.
setDouble
- void setDouble(java.lang.String key,
- double value)
Associates the specified double value with the specified key in this map.
Parameters:
key
- getInt
- int getInt(java.lang.String key)
- throws BatchContainerPersistentContextException
Returns the int value for the specified key. If the key does not exist or the
value cannot be mapped to an int, a BatchContainerPersistentContextException
is thrown.
setInt
- void setInt(java.lang.String key,
- int value)
Associates the specified int value with the specified key in this map.
Parameters:
key
- getLong
- long getLong(java.lang.String key)
- throws BatchContainerPersistentContextException
Returns the long value for the specified key. If the key does not exist or the
value cannot be mapped to a long, a BatchContainerPersistentContextException
is thrown.
setLong
- void setLong(java.lang.String key,
- long value)
Associates the specified long value with the specified key in this map.
Parameters:
key
- getString
- java.lang.String getString(java.lang.String key)
- throws BatchContainerPersistentContextException
Returns the String value for the specified key. If the key does not exist or the
value cannot be mapped to a String, a BatchContainerPersistentContextException is
thrown.
setString
- void setString(java.lang.String key,
- java.lang.String value)
Associates the specified String value with the specified key in this map.
Parameters:
key
-