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
 java.lang.String getFeature()
          Gets the name of the feature that should be indexed.
 java.lang.String getIndexName()
          Gets the name that will be used to represent this feature in the index.
 void setFeature(java.lang.String aFeature)
          Sets the name of the feature that should be indexed.
 void setIndexName(java.lang.String aIndexName)
          Sets the name that will be used to represent this feature in the index.
 

Method Detail

getFeature

java.lang.String getFeature()
Gets the name of the feature that should be indexed.

Returns:
the CAS feature name

setFeature

void setFeature(java.lang.String aFeature)
Sets the name of the feature that should be indexed.

Parameters:
aFeature - the CAS feature name

getIndexName

java.lang.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(java.lang.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 © 2011. All Rights Reserved.