planetj.util
Class NamedValue

java.lang.Object
  |
  +--planetj.util.NamedValue
All Implemented Interfaces:
INamed

Deprecated. We already have a property object - use that instead

public class NamedValue
extends Object
implements INamed

A named value


Constructor Summary
NamedValue()
          Deprecated. NamedValue constructor comment.
NamedValue(String name, Object value)
          Deprecated. NamedValue constructor
 
Method Summary
 boolean equals(Object o)
          Deprecated. Tests if the name and value of two NamedValue objects are equal
 String getName()
          Deprecated. getName method comment.
 Object getValue()
          Deprecated. Gets the value
 int hashCode()
          Deprecated. Gets this object's hashcode
 void setName(String name)
          Deprecated. Sets the name
 void setValue(Object val)
          Deprecated. Sets the value
 String toString()
          Deprecated.  
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NamedValue

public NamedValue()
Deprecated. 
NamedValue constructor comment.


NamedValue

public NamedValue(String name,
                  Object value)
Deprecated. 
NamedValue constructor

Method Detail

equals

public boolean equals(Object o)
Deprecated. 
Tests if the name and value of two NamedValue objects are equal

Overrides:
equals in class Object

getName

public String getName()
Deprecated. 
getName method comment.

Specified by:
getName in interface INamed

getValue

public Object getValue()
Deprecated. 
Gets the value

Specified by:
getValue in interface INamed

hashCode

public int hashCode()
Deprecated. 
Gets this object's hashcode

Overrides:
hashCode in class Object

setName

public void setName(String name)
Deprecated. 
Sets the name


setValue

public void setValue(Object val)
Deprecated. 
Sets the value


toString

public String toString()
Deprecated. 
Overrides:
toString in class Object