org.pfsw.tools.cda.darc
Class ParameterMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<java.lang.String,java.lang.String>
          extended by org.pfsw.tools.cda.darc.ParameterMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>, IParameterMap

public class ParameterMap
extends java.util.HashMap<java.lang.String,java.lang.String>
implements IParameterMap

Container for an arbitrary amount of key/value pairs.

Version:
1.0
Author:
M.Duchrow
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
ParameterMap()
          Initialize the new instance with default values.
 
Method Summary
 boolean isError()
          Returns true if this parameter map has been set to represent an error.
 boolean isOk()
          Returns true if this parameter map has been set to represent a success.
 boolean isUndefined()
          Returns true if this parameter map has been set to represent an error.
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

ParameterMap

public ParameterMap()
Initialize the new instance with default values.

Method Detail

isOk

public boolean isOk()
Returns true if this parameter map has been set to represent a success.

Specified by:
isOk in interface IParameterMap

isError

public boolean isError()
Returns true if this parameter map has been set to represent an error.

Specified by:
isError in interface IParameterMap

isUndefined

public boolean isUndefined()
Returns true if this parameter map has been set to represent an error.