javax.rad.util
Class Parameter

java.lang.Object
  extended by javax.rad.util.Parameter

public class Parameter
extends java.lang.Object

The Parameter is a general key/value implementation. A parameter is identified by name and its value.


Constructor Summary
Parameter()
          Creates a new instance of Parameter.
Parameter(java.lang.String pName, java.lang.Object pValue)
          Creates a new instance of Parameter with predefined name and value.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
 java.lang.String getName()
          Gets the name.
 java.lang.Object getValue()
          Gets the value.
 int hashCode()
          
 void setName(java.lang.String pName)
          Sets the name.
 void setValue(java.lang.Object pValue)
          Sets the value.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Parameter

public Parameter()
Creates a new instance of Parameter.


Parameter

public Parameter(java.lang.String pName,
                 java.lang.Object pValue)
Creates a new instance of Parameter with predefined name and value.

Parameters:
pName - the name of the parameter
pValue - the value of the parameter
Method Detail

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()
Gets the name.

Returns:
the name

setName

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

Parameters:
pName - the name

getValue

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

Returns:
the value

setValue

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

Parameters:
pValue - the value


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.