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:
java.io.Serializable,java.lang.Cloneable,MetaDataObject,Mapping,XMLizable
public class Mapping_impl extends MetaDataObject_impl implements Mapping
- See Also:
- Serialized Form
-
-
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 Modifier and Type Field Description private java.lang.StringmFeatureprivate java.lang.StringmIndexNameprivate static longserialVersionUIDprivate static XmlizationInfoXMLIZATION_INFO-
Fields inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
serialContext
-
-
Constructor Summary
Constructors Constructor Description Mapping_impl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFeature()Gets the name of the feature that should be indexed.java.lang.StringgetIndexName()Gets the name that will be used to represent this feature in the index.protected XmlizationInfogetXmlizationInfo()To be implemented by subclasses to return information describing how to represent this object in XML.voidsetFeature(java.lang.String aFeature)Sets the name of the feature that should be indexed.voidsetIndexName(java.lang.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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
mFeature
private java.lang.String mFeature
-
mIndexName
private java.lang.String mIndexName
-
XMLIZATION_INFO
private static final XmlizationInfo XMLIZATION_INFO
-
-
Method Detail
-
getFeature
public java.lang.String getFeature()
Description copied from interface:MappingGets the name of the feature that should be indexed.- Specified by:
getFeaturein interfaceMapping- Returns:
- the CAS feature name
-
setFeature
public void setFeature(java.lang.String aFeature)
Description copied from interface:MappingSets the name of the feature that should be indexed.- Specified by:
setFeaturein interfaceMapping- Parameters:
aFeature- the CAS feature name
-
getIndexName
public java.lang.String getIndexName()
Description copied from interface:MappingGets 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:
getIndexNamein interfaceMapping- Returns:
- the index name for the feature
-
setIndexName
public void setIndexName(java.lang.String aIndexName)
Description copied from interface:MappingSets 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:
setIndexNamein interfaceMapping- Parameters:
aIndexName- the index name for the feature
-
getXmlizationInfo
protected XmlizationInfo getXmlizationInfo()
Description copied from class:MetaDataObject_implTo be implemented by subclasses to return information describing how to represent this object in XML.- Specified by:
getXmlizationInfoin classMetaDataObject_impl- Returns:
- information defining this object's XML representation
-
-