Class NameValuePairImpl
- java.lang.Object
-
- org.apache.uima.collection.impl.metadata.cpe.NameValuePairImpl
-
- All Implemented Interfaces:
NameValuePair
public class NameValuePairImpl extends Object implements NameValuePair
-
-
Constructor Summary
Constructors Constructor Description NameValuePairImpl()NameValuePairImpl(String aName, Object aValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()Gets the name.ObjectgetValue()Gets the value.voidsetName(String aName)Sets the name.voidsetValue(Object aValue)Sets the value.
-
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:NameValuePairGets the name.- Specified by:
getNamein interfaceNameValuePair- Returns:
- the name
-
setName
public void setName(String aName)
Description copied from interface:NameValuePairSets the name.- Specified by:
setNamein interfaceNameValuePair- Parameters:
aName- a name
-
getValue
public Object getValue()
Description copied from interface:NameValuePairGets the value.- Specified by:
getValuein interfaceNameValuePair- Returns:
- the value
-
setValue
public void setValue(Object aValue)
Description copied from interface:NameValuePairSets the value.- Specified by:
setValuein interfaceNameValuePair- Parameters:
aValue- a value
-
-