org.apache.uima.resource.metadata

## Interface NameValuePair

- All Superinterfaces:
    Cloneable, MetaDataObject, Serializable, XMLizable

      public interface NameValuePair
      extends MetaDataObject

  A type of `MetaDataObject` that stores a name (String) and value (Object).

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and 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 Detail

    - #### 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

Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.