Interface NameValuePair
-
- All Known Implementing Classes:
NameValuePairImpl
public interface NameValuePair
Stores a name (String) and value (Object).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getName()
Gets the name.java.lang.Object
getValue()
Gets the value.void
setName(java.lang.String aName)
Sets the name.void
setValue(java.lang.Object aValue)
Sets the value.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name.- Returns:
- the name
-
setName
void setName(java.lang.String aName)
Sets the name.- Parameters:
aName
- a name
-
getValue
java.lang.Object getValue()
Gets the value.- Returns:
- the value
-
setValue
void setValue(java.lang.Object aValue)
Sets the value.- Parameters:
aValue
- a value
-
-