java.lang.Object | +--com.ibm.commerce.command.NameValuePair
This class is for internal use only.
Constructor Summary | |
---|---|
NameValuePair() Default constructor for the NameValuePair. | |
NameValuePair(java.lang.String name,
java.lang.String value) Constructor for the NameValuePair with the given name and value parameter. |
Method Summary | |
---|---|
java.lang.String |
getName() Gets the name from the name value pair. |
java.lang.String |
getValue() Gets the value from the name value pair. |
boolean |
isEqual(
NameValuePair n) Checks the values in the name value pair |
void |
setName(java.lang.String name) Sets the name from the name value pair. |
void |
setValue(java.lang.String value) Sets the value from the name value pair. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Constructor Detail |
---|
public NameValuePair()
public NameValuePair(java.lang.String name, java.lang.String value)
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getValue()
public boolean isEqual(NameValuePair n)
n
- input name value pairpublic void setName(java.lang.String name)
public void setValue(java.lang.String value)