Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 The Apache Software Foundation. All Rights Reserved.