public class FormParameter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log
Used for logging.
|
(package private) java.lang.String |
name
The name of the form parameter.
|
(package private) java.lang.String |
value
The value of the form parameter.
|
Constructor and Description |
---|
FormParameter(java.lang.String name,
java.lang.String value)
Initializes the parameter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets the name portion of the parameter.
|
java.lang.String |
getValue()
Gets the value portion of the parameter.
|
void |
setName(java.lang.String name)
Sets the name of the parameter.
|
void |
setValue(java.lang.String value)
Sets the value portion of the parameter.
|
java.lang.String |
toString()
Overriding..
|
public static org.apache.log4j.Logger log
java.lang.String name
java.lang.String value
public FormParameter(java.lang.String name, java.lang.String value)
name
- The name of the parameter.value
- The value of the parameter.public java.lang.String getName()
public void setName(java.lang.String name)
name
- The name as a string.public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The value as a string.public java.lang.String toString()
toString
in class java.lang.Object