com.ibm.websphere.batch.context

Interface PersistentMap

All Superinterfaces:
java.io.Externalizable, java.io.Serializable

  1. public interface PersistentMap
  2. extends java.io.Externalizable

Method Summary

Modifier and Type Method and Description
  1. boolean
containsKey(java.lang.String key)
Returns true if this map contains a mapping for the specified key
  1. boolean
getBoolean(java.lang.String key)
Returns the boolean value for the specified key.
  1. double
getDouble(java.lang.String key)
Returns the double value for the specified key.
  1. int
getInt(java.lang.String key)
Returns the int value for the specified key.
  1. long
getLong(java.lang.String key)
Returns the long value for the specified key.
  1. java.lang.String
getString(java.lang.String key)
Returns the String value for the specified key.
  1. void
setBoolean(java.lang.String key,boolean value)
Associates the specified boolean value with the specified key in this map.
  1. void
setDouble(java.lang.String key,double value)
Associates the specified double value with the specified key in this map.
  1. void
setInt(java.lang.String key,int value)
Associates the specified int value with the specified key in this map.
  1. void
setLong(java.lang.String key,long value)
Associates the specified long value with the specified key in this map.
  1. void
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

  1. 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

  1. boolean getBoolean(java.lang.String key)
  2. 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.
Parameters:
key -
Returns:
true or false
Throws:

setBoolean

  1. void setBoolean(java.lang.String key,
  2. boolean value)
Associates the specified boolean value with the specified key in this map.
Parameters:
key -

getDouble

  1. double getDouble(java.lang.String key)
  2. 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.
Parameters:
key -
Returns:
double value
Throws:

setDouble

  1. void setDouble(java.lang.String key,
  2. double value)
Associates the specified double value with the specified key in this map.
Parameters:
key -

getInt

  1. int getInt(java.lang.String key)
  2. 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.
Parameters:
key -
Returns:
int value
Throws:

setInt

  1. void setInt(java.lang.String key,
  2. int value)
Associates the specified int value with the specified key in this map.
Parameters:
key -

getLong

  1. long getLong(java.lang.String key)
  2. 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.
Parameters:
key -
Returns:
long value
Throws:

setLong

  1. void setLong(java.lang.String key,
  2. long value)
Associates the specified long value with the specified key in this map.
Parameters:
key -

getString

  1. java.lang.String getString(java.lang.String key)
  2. 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.
Parameters:
key -
Returns:
String value
Throws:

setString

  1. void setString(java.lang.String key,
  2. java.lang.String value)
Associates the specified String value with the specified key in this map.
Parameters:
key -