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
The Class NameValuePairImpl.
-
-
Constructor Summary
Constructors Constructor Description NameValuePairImpl()Instantiates a new name value pair impl.NameValuePairImpl(java.lang.String aName, java.lang.Object aValue)Instantiates a new name value pair impl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the name.java.lang.ObjectgetValue()Gets the value.voidsetName(java.lang.String aName)Sets the name.voidsetValue(java.lang.Object aValue)Sets the value.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:NameValuePairGets the name.- Specified by:
getNamein interfaceNameValuePair- Returns:
- the name
-
setName
public void setName(java.lang.String aName)
Description copied from interface:NameValuePairSets the name.- Specified by:
setNamein interfaceNameValuePair- Parameters:
aName- a name
-
getValue
public java.lang.Object getValue()
Description copied from interface:NameValuePairGets the value.- Specified by:
getValuein interfaceNameValuePair- Returns:
- the value
-
setValue
public void setValue(java.lang.Object aValue)
Description copied from interface:NameValuePairSets the value.- Specified by:
setValuein interfaceNameValuePair- Parameters:
aValue- a value
-
-