|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.rad.util.Parameter
public class Parameter
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 |
---|
public Parameter()
Parameter
.
public Parameter(java.lang.String pName, java.lang.Object pValue)
Parameter
with predefined
name and value.
pName
- the name of the parameterpValue
- the value of the parameterMethod Detail |
---|
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getName()
public void setName(java.lang.String pName)
pName
- the namepublic java.lang.Object getValue()
public void setValue(java.lang.Object pValue)
pValue
- the value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |