public class AnnotationBase extends TOP implements org.apache.uima.cas.impl.AnnotationBaseImpl
Modifier and Type | Field and Description |
---|---|
static String |
_FeatName_sofa |
static int |
_FI_sofa |
static String |
_TypeName |
static int |
type |
static int |
typeIndexID |
_singleton
Modifier | Constructor and Description |
---|---|
protected |
AnnotationBase() |
|
AnnotationBase(JCas jcas) |
|
AnnotationBase(org.apache.uima.cas.impl.TypeImpl t,
org.apache.uima.cas.impl.CASImpl c)
used by generator
Make a new AnnotationBase
|
Modifier and Type | Method and Description |
---|---|
Sofa |
getSofa() |
int |
getTypeIndexID() |
CAS |
getView()
Gets the CAS view associated with the Sofa that this Annotation is over.
|
void |
setFeatureValue(Feature feat,
FeatureStructure v)
Set a feature value to another FS.
|
_createJCasHashMapReserve, _createSearchKey
_copyIntAndRefArraysEqTypesFrom, _copyIntAndRefArraysFrom, _copyIntArrayEqTypesFrom, _getBooleanValueNc, _getBooleanValueNc, _getByteValueNc, _getByteValueNc, _getDoubleValueNc, _getDoubleValueNc, _getFeatFromAdjOffset, _getFeatureValueNc, _getFeatureValueNc, _getFloatValueNc, _getFloatValueNc, _getIntLikeValue, _getIntValueNc, _getIntValueNc, _getLongValueNc, _getLongValueNc, _getRefValueCommon, _getShortValueNc, _getShortValueNc, _getStringValueNc, _getStringValueNc, _getTypeCode, _getTypeImpl, _getView, _id, _inSetSortedIndex, _isJCasHashMapReserve, _isPearTrampoline, _maybeGetBaseForPearFs, _maybeGetBaseForPearFs, _maybeGetPearFs, _maybeGetPearFs, _resetInSetSortedIndex, _setBooleanValueNcNj, _setBooleanValueNcNj, _setBooleanValueNfc, _setByteValueNcNj, _setByteValueNcNj, _setByteValueNfc, _setDoubleValueNcNj, _setDoubleValueNcNj, _setDoubleValueNfc, _setFeatureValueNcNj, _setFeatureValueNcNj, _setFeatureValueNcWj, _setFloatValueNcNj, _setFloatValueNcNj, _setFloatValueNfc, _setInSetSortedIndexed, _setIntLikeValue, _setIntLikeValueNcNj, _setIntValueCJ, _setIntValueNcNj, _setIntValueNcNj, _setIntValueNfc, _setIntValueNfcCJ, _setJCasHashMapReserve, _setLongValueCJ, _setLongValueNcNj, _setLongValueNcNj, _setLongValueNfc, _setLongValueNfcCJ, _setPearTrampoline, _setRefValueCJ, _setRefValueCommon, _setRefValueCommonWj, _setRefValueNfcCJ, _setShortValueNcNj, _setShortValueNcNj, _setShortValueNfc, _setStringValueNcNj, _setStringValueNcWj, _setStringValueNfc, _setTypeImpl, addToIndexes, addToIndexes, addToIndexes, clone, compare, getAddress, getBooleanValue, getByteValue, getCAS, getCASImpl, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getLowLevelCas, getShortValue, getStringValue, getType, hashCode, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, prettyPrint, removeFromIndexes, removeFromIndexes, removeFromIndexes, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toShortString, toString, toString
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
_getTypeCode, _id, clone, getAddress, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, setBooleanValue, setByteValue, setDoubleValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
public static final String _TypeName
public static final String _FeatName_sofa
public static final int typeIndexID
public static final int type
public static final int _FI_sofa
protected AnnotationBase()
public AnnotationBase(JCas jcas)
public AnnotationBase(org.apache.uima.cas.impl.TypeImpl t, org.apache.uima.cas.impl.CASImpl c)
c
- -t
- -public int getTypeIndexID()
getTypeIndexID
in class TOP
public Sofa getSofa()
public CAS getView()
AnnotationBaseFS
getView
in interface AnnotationBaseFS
public void setFeatureValue(Feature feat, FeatureStructure v)
FeatureStructure
setFeatureValue
in interface FeatureStructure
setFeatureValue
in class org.apache.uima.cas.impl.FeatureStructureImplC
feat
- The feature whose value should be set.v
- The value FS.Copyright © 2006–2017 The Apache Software Foundation. All rights reserved.