org.jtheque.core.managers.state
Class NodeStateAttribute

java.lang.Object
  extended by org.jtheque.core.managers.state.NodeStateAttribute

public final class NodeStateAttribute
extends java.lang.Object

A node state attribute.

Author:
Baptiste Wicht

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

Constructor Detail

NodeStateAttribute

public NodeStateAttribute(java.lang.String key,
                          java.lang.String value)
Construct a new NodeStateAttribute.

Parameters:
key - The key of the attribute.
value - The value of the attribute.
Method Detail

getKey

public java.lang.String getKey()
Return the key of the attribute.

Returns:
The key.

setKey

public void setKey(java.lang.String key)
Set the key of the attribute.

Parameters:
key - The key.

getValue

public java.lang.String getValue()
Return the value of the attribute.

Returns:
The value.

setValue

public void setValue(java.lang.String value)
Set the value of the attribute.

Parameters:
value - The value.


Copyright © 2009 JTheque. All Rights Reserved.