Package org.apache.uima.search.impl
Class Mapping_impl
java.lang.Object
org.apache.uima.resource.metadata.impl.MetaDataObject_impl
org.apache.uima.search.impl.Mapping_impl
- All Implemented Interfaces:
Serializable
,Cloneable
,MetaDataObject
,Mapping
,XMLizable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
MetaDataObject_impl.MetaDataAttr, MetaDataObject_impl.SerialContext, MetaDataObject_impl.Serializer
-
Field Summary
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the name of the feature that should be indexed.Gets the name that will be used to represent this feature in the index.protected XmlizationInfo
To be implemented by subclasses to return information describing how to represent this object in XML.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.Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAdditionalAttributes, getAttributeClass, getAttributeValue, getInfoset, getMatchingNode, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSerialContext, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, resolveSettings, setAttributeValue, setInfoset, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, valueIsNullOrEmptyArray, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement
-
Constructor Details
-
Mapping_impl
public Mapping_impl()
-
-
Method Details
-
getFeature
Description copied from interface:Mapping
Gets the name of the feature that should be indexed.- Specified by:
getFeature
in interfaceMapping
- Returns:
- the CAS feature name
-
setFeature
Description copied from interface:Mapping
Sets the name of the feature that should be indexed.- Specified by:
setFeature
in interfaceMapping
- Parameters:
aFeature
- the CAS feature name
-
getIndexName
Description copied from interface:Mapping
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.- Specified by:
getIndexName
in interfaceMapping
- Returns:
- the index name for the feature
-
setIndexName
Description copied from interface:Mapping
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.- Specified by:
setIndexName
in interfaceMapping
- Parameters:
aIndexName
- the index name for the feature
-
getXmlizationInfo
Description copied from class:MetaDataObject_impl
To be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfo
in classMetaDataObject_impl
- Returns:
- information defining this object's XML representation
-