Package org.apache.uima.resource.metadata

# Interface NameValuePair

All Superinterfaces:
  `Cloneable`, `MetaDataObject`, `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

  Modifier and Type
  Method
  Description
  `String`
  `getName()`
  Gets the name.
  `Object`
  `getValue()`
  Gets the value.
  `void`
  `setName(String aName)`
  Sets the name.
  `void`
  `setValue(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 Details

  - ### getName

    String getName()
    Gets the name.
    Returns:
      the name

  - ### setName

    void setName(String aName)
    Sets the name.
    Parameters:
      `aName` - a name

  - ### getValue

    Object getValue()
    Gets the value.
    Returns:
      the value

  - ### setValue

    void setValue(Object aValue)
    Sets the value.
    Parameters:
      `aValue` - a value