public final class Parameter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Constructor and Description |
---|
Parameter()
Default constructor to initialize the parameter options.
|
Parameter(java.lang.String name,
java.io.Serializable value)
Constructor that builds a parameter option from the passed values.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the parameter.
|
java.io.Serializable |
getValue()
Returns the value of the parameter.
|
void |
setParameter(java.lang.String name,
java.io.Serializable value)
Sets the parameter.
|
java.lang.String |
toString()
Returns a string representation of the Parameter object.
|
public static final java.lang.String COPYRIGHT
public Parameter()
public Parameter(java.lang.String name, java.io.Serializable value)
name
- The name of the parameter.value
- The value of the parameter.public java.lang.String getName()
public java.io.Serializable getValue()
public void setParameter(java.lang.String name, java.io.Serializable value)
name
- The name of the parameter.value
- The value of the parameter.public java.lang.String toString()
toString
in class java.lang.Object