public class NameValuePair
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
NameValuePair()
The do-nothing zero-argument constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets the name portion of this name-value pair object.
|
java.lang.String |
getValue()
Gets the value portion of this name-value pair object.
|
void |
setName(java.lang.String string)
Sets the name portion of this name-value pair object.
|
void |
setValue(java.lang.String string)
Sets the value portion of this name-value pair object.
|
public static final java.lang.String COPYRIGHT
public java.lang.String getName()
public java.lang.String getValue()
public void setName(java.lang.String string)
string
- the namepublic void setValue(java.lang.String string)
string
- the value