Class NameValuePairImpl
- java.lang.Object
-
- org.apache.uima.collection.impl.metadata.cpe.NameValuePairImpl
-
- All Implemented Interfaces:
NameValuePair
public class NameValuePairImpl extends java.lang.Object implements NameValuePair
-
-
Constructor Summary
Constructors Constructor Description NameValuePairImpl()
NameValuePairImpl(java.lang.String aName, java.lang.Object aValue)
-
Method Summary
All Methods Instance Methods Concrete 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
public java.lang.String getName()
Description copied from interface:NameValuePair
Gets the name.- Specified by:
getName
in interfaceNameValuePair
- Returns:
- the name
-
setName
public void setName(java.lang.String aName)
Description copied from interface:NameValuePair
Sets the name.- Specified by:
setName
in interfaceNameValuePair
- Parameters:
aName
- a name
-
getValue
public java.lang.Object getValue()
Description copied from interface:NameValuePair
Gets the value.- Specified by:
getValue
in interfaceNameValuePair
- Returns:
- the value
-
setValue
public void setValue(java.lang.Object aValue)
Description copied from interface:NameValuePair
Sets the value.- Specified by:
setValue
in interfaceNameValuePair
- Parameters:
aValue
- a value
-
-