org.dbforms.util
Class KeyValuePair

java.lang.Object
  extended by org.dbforms.util.KeyValuePair

public class KeyValuePair
extends Object

Description of the Class

Author:
foxat

Constructor Summary
KeyValuePair()
          Creates a new KeyValuePair object.
KeyValuePair(String key, String value)
          Creates a new KeyValuePair object.
 
Method Summary
 String getKey()
          Gets the key attribute of the KeyValuePair object
 String getValue()
          Gets the value attribute of the KeyValuePair object
 void setKey(String key)
          Sets the key attribute of the KeyValuePair object
 void setValue(String value)
          Sets the value attribute of the KeyValuePair object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValuePair

public KeyValuePair()
Creates a new KeyValuePair object.


KeyValuePair

public KeyValuePair(String key,
                    String value)
Creates a new KeyValuePair object.

Parameters:
key - the key value
value - the value related to the key
Method Detail

setKey

public void setKey(String key)
Sets the key attribute of the KeyValuePair object

Parameters:
key - The new key value

getKey

public String getKey()
Gets the key attribute of the KeyValuePair object

Returns:
The key value

setValue

public void setValue(String value)
Sets the value attribute of the KeyValuePair object

Parameters:
value - The new value value

getValue

public String getValue()
Gets the value attribute of the KeyValuePair object

Returns:
The value value


Copyright © 2002-2005 DbForms. All Rights Reserved.