public class ParamValue
extends java.lang.Object
Constructor and Description |
---|
ParamValue()
Create instance of ParamValue class
|
ParamValue(ParamName name)
Create instance of ParamValue class
|
ParamValue(ParamName name,
boolean enabled)
Create instance of ParamValue class
|
ParamValue(ParamName name,
int value)
Create instance of ParamValue class
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean()
Returns the value of parameter as boolean
|
ParamName |
getName()
Returns the name of parameter.
|
int |
getValue()
Returns the value of parameter.
|
void |
setValue(int value)
Sets the value of parameter.
|
java.lang.String |
toString() |
public ParamValue()
public ParamValue(ParamName name)
name
- A ParamName that specifies the name of parameter.public ParamValue(ParamName name, int value)
name
- A ParamName that specifies the name of parameter.value
- An integer that specifies the value of parameter.public ParamValue(ParamName name, boolean enabled)
name
- A ParamName that specifies the name of parameter.enabled
- A boolean that specifies whether parameter is to be enabledpublic ParamName getName()
public void setValue(int value)
value
- An integer that specifies the value of parameter.public int getValue()
public boolean getBoolean()
public java.lang.String toString()
toString
in class java.lang.Object