org.apache.uima.resource.metadata
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 of MetaDataObject that stores a name (String) and value (Object).


Method Summary
 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.
 
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


Copyright © 2013. All Rights Reserved.