public class NameValuePairImpl extends Object implements NameValuePair
| Constructor and Description |
|---|
NameValuePairImpl() |
NameValuePairImpl(String aName,
Object aValue) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the name.
|
Object |
getValue()
Gets the value.
|
void |
setName(String aName)
Sets the name.
|
void |
setValue(Object aValue)
Sets the value.
|
public String getName()
NameValuePairgetName in interface NameValuePairpublic void setName(String aName)
NameValuePairsetName in interface NameValuePairaName - a namepublic Object getValue()
NameValuePairgetValue in interface NameValuePairpublic void setValue(Object aValue)
NameValuePairsetValue in interface NameValuePairaValue - a valueCopyright © 2018. All rights reserved.