org.apache.uima.search

## Interface Mapping

-     public interface Mapping

  Mapping from a CAS feature name to its name in the index. Used inside `Style.getAttributeMappings()`.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getFeature()` Gets the name of the feature that should be indexed.
    `String` | `getIndexName()` Gets the name that will be used to represent this feature in the index.
    `void` | `setFeature(String aFeature)` Sets the name of the feature that should be indexed.
    `void` | `setIndexName(String aIndexName)` Sets the name that will be used to represent this feature in the index.

- - ### Method Detail

    - #### getFeature

          String getFeature()

      Gets the name of the feature that should be indexed.
      Returns:
        the CAS feature name

    - #### setFeature

          void setFeature(String aFeature)

      Sets the name of the feature that should be indexed.
      Parameters:
        `aFeature` - the CAS feature name

    - #### getIndexName

          String getIndexName()

      Gets the name that will be used to represent this feature in the index. This determines the name that must be used to query for this feature.
      Returns:
        the index name for the feature

    - #### setIndexName

          void setIndexName(String aIndexName)

      Sets the name that will be used to represent this feature in the index. This determines the name that must be used to query for this feature.
      Parameters:
        `aIndexName` - the index name for the feature

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