planetj.util
Class NamedValue

java.lang.Object
  extended byplanetj.util.NamedValue
All Implemented Interfaces:
INamed

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

public class NamedValue
extends java.lang.Object
implements INamed

A named value


Constructor Summary
NamedValue()
          Deprecated. NamedValue constructor comment.
NamedValue(java.lang.String name, java.lang.Object value)
          Deprecated. NamedValue constructor
 
Method Summary
 boolean equals(java.lang.Object o)
          Deprecated. Tests if the name and value of two NamedValue objects are equal
 java.lang.String getName()
          Deprecated. getName method comment.
 java.lang.Object getValue()
          Deprecated. Gets the value
 int hashCode()
          Deprecated. Gets this object's hashcode
 void setName(java.lang.String name)
          Deprecated. Sets the name
 void setValue(java.lang.Object val)
          Deprecated. Sets the value
 java.lang.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(java.lang.String name,
                  java.lang.Object value)
Deprecated. 
NamedValue constructor

Method Detail

equals

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


getName

public java.lang.String getName()
Deprecated. 
getName method comment.

Specified by:
getName in interface INamed

getValue

public java.lang.Object getValue()
Deprecated. 
Gets the value

Specified by:
getValue in interface INamed

hashCode

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


setName

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


setValue

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


toString

public java.lang.String toString()
Deprecated.