nl.knowledgeplaza.util.jdbc
Class ParameterSet

java.lang.Object
  extended by nl.knowledgeplaza.util.LinearMap
      extended by nl.knowledgeplaza.util.jdbc.ParameterSet
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map

public class ParameterSet
extends LinearMap

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
ParameterSet()
           
 
Method Summary
 void addFields(java.lang.String[] fields)
          add a set of fields to the Parameter
 void assertAllFieldsHaveBeenSet()
           
 void clearValues()
          Clear the parameter values (set null)
 java.lang.String[] getFields()
          Return the fields for JdbcUtil methods.
 java.lang.Object[] getValues()
          Return the parameter values for JdbcUtil methods.
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
          Set a parameter value
 
Methods inherited from class nl.knowledgeplaza.util.LinearMap
clear, containsKey, containsValue, entrySet, find, findValue, get, getKeyAt, getValueAt, isEmpty, keySet, putAll, putAt, putBefore, remove, removeAt, size, toString, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

ParameterSet

public ParameterSet()
Method Detail

addFields

public void addFields(java.lang.String[] fields)
add a set of fields to the Parameter

Parameters:
fields -

put

public java.lang.Object put(java.lang.Object key,
                            java.lang.Object value)
Set a parameter value

Specified by:
put in interface java.util.Map
Overrides:
put in class LinearMap
Parameters:
key -
value -

clearValues

public void clearValues()
Clear the parameter values (set null)


assertAllFieldsHaveBeenSet

public void assertAllFieldsHaveBeenSet()

getFields

public java.lang.String[] getFields()
Return the fields for JdbcUtil methods.

Returns:

getValues

public java.lang.Object[] getValues()
Return the parameter values for JdbcUtil methods.

Returns:


Copyright © 2010 KnowledgePlaza. All Rights Reserved.