at.spardat.xma.boot
Class KeyValue

java.lang.Object
  extended byat.spardat.xma.boot.KeyValue

public class KeyValue
extends java.lang.Object

This class implements a key-value-pair to be tranported over the Com-Interface of Component.


Constructor Summary
KeyValue()
          Constructor for KeyValue.
KeyValue(java.lang.String key, java.lang.String value)
          Constructor for KeyValue.
 
Method Summary
 java.lang.String getKey()
          Returns the key.
 java.lang.String getValue()
          Returns the value.
 void setKey(java.lang.String key)
          Sets the key.
 void setValue(java.lang.String value)
          Sets the value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyValue

public KeyValue()
Constructor for KeyValue.


KeyValue

public KeyValue(java.lang.String key,
                java.lang.String value)
Constructor for KeyValue.

Parameters:
key - The key to set
value - The value to set
Method Detail

getKey

public java.lang.String getKey()
Returns the key.

Returns:
String

getValue

public java.lang.String getValue()
Returns the value.

Returns:
String

setKey

public void setKey(java.lang.String key)
Sets the key.

Parameters:
key - The key to set

setValue

public void setValue(java.lang.String value)
Sets the value.

Parameters:
value - The value to set