Interface NameValuePair
-
- All Superinterfaces:
java.lang.Cloneable,MetaDataObject,java.io.Serializable,XMLizable
- All Known Implementing Classes:
NameValuePair_impl
public interface NameValuePair extends MetaDataObject
A type ofMetaDataObjectthat stores a name (String) and value (Object).
-
-
Method Summary
All Methods Instance Methods Abstract 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.-
Methods inherited from interface org.apache.uima.resource.metadata.MetaDataObject
clone, equals, getAttributeValue, getSourceUrl, getSourceUrlString, isModifiable, listAttributes, setAttributeValue, setSourceUrl
-
Methods inherited from interface org.apache.uima.util.XMLizable
buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML
-
-
-
-
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
-
-