org.apache.uima.search.impl
Class Mapping_impl

java.lang.Object
  extended by org.apache.uima.resource.metadata.impl.MetaDataObject_impl
      extended by 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

Constructor Summary
Mapping_impl()
           
 
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.
protected  XmlizationInfo getXmlizationInfo()
          To be implemented by subclasses to return information describing how to represent this object in XML.
 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.
 
Methods inherited from class org.apache.uima.resource.metadata.impl.MetaDataObject_impl
buildFromXMLElement, buildFromXMLElement, clone, equals, getAttributeClass, getAttributeValue, getPropertyDescriptors, getPropertyXmlInfo, getRelativePathBase, getSourceUrl, getSourceUrlString, getWrapperClass, getXMLAttributes, hashCode, isModifiable, listAttributes, readArrayPropertyValueFromXMLElement, readMapPropertyFromXml, readPropertyValueFromXMLElement, readUnknownPropertyValueFromXMLElement, setAttributeValue, setSourceUrl, setSourceUrlIfNull, toString, toXML, toXML, toXML, toXML, writeArrayPropertyAsElement, writeMapPropertyToXml, writePropertyAsElement
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Mapping_impl

public Mapping_impl()
Method Detail

getFeature

public java.lang.String getFeature()
Description copied from interface: Mapping
Gets the name of the feature that should be indexed.

Specified by:
getFeature in interface Mapping
Returns:
the CAS feature name

setFeature

public void setFeature(java.lang.String aFeature)
Description copied from interface: Mapping
Sets the name of the feature that should be indexed.

Specified by:
setFeature in interface Mapping
Parameters:
aFeature - the CAS feature name

getIndexName

public java.lang.String 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 interface Mapping
Returns:
the index name for the feature

setIndexName

public void setIndexName(java.lang.String aIndexName)
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 interface Mapping
Parameters:
aIndexName - the index name for the feature

getXmlizationInfo

protected XmlizationInfo 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 class MetaDataObject_impl
Returns:
information defining this object's XML representation


Copyright © 2011. All Rights Reserved.