Package org.apache.uima.search

# Interface Mapping

All Known Implementing Classes:
  `Mapping_impl`

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

- ## Method Summary

  Modifier and Type
  Method
  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 Details

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