org.apache.ctakes.typesystem.type.textsem
Class IdentifiedAnnotation_Type

java.lang.Object
  extended by org.apache.uima.jcas.cas.TOP_Type
      extended by org.apache.uima.jcas.cas.AnnotationBase_Type
          extended by org.apache.uima.jcas.tcas.Annotation_Type
              extended by org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation_Type
Direct Known Subclasses:
ContextAnnotation_Type, DateAnnotation_Type, EntityMention_Type, EventMention_Type, FractionAnnotation_Type, MeasurementAnnotation_Type, Modifier_Type, PersonTitleAnnotation_Type, RangeAnnotation_Type, RomanNumeralAnnotation_Type, TimeAnnotation_Type, TimeMention_Type

public class IdentifiedAnnotation_Type
extends org.apache.uima.jcas.tcas.Annotation_Type

Any span of text that has been discovered or flagged for some reason, such as a Named Entity. Allows for mapping to an ontology. Generalized from cTAKES: org.apache.ctakes.typesystem.type.IdentifiedAnnotation. Updated by JCasGen Thu Nov 28 10:33:42 CST 2013


Field Summary
static boolean featOkTst
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance
 
Constructor Summary
IdentifiedAnnotation_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
          initialize variables to correspond with Cas Type and Features
 
Method Summary
 boolean getConditional(int addr)
           
 float getConfidence(int addr)
           
 int getDiscoveryTechnique(int addr)
           
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 boolean getGeneric(int addr)
           
 int getHistoryOf(int addr)
           
 int getId(int addr)
           
 int getOntologyConceptArr(int addr)
           
 int getOntologyConceptArr(int addr, int i)
           
 int getOriginalText(int addr)
           
 int getOriginalText(int addr, int i)
           
 int getPolarity(int addr)
           
 String getSegmentID(int addr)
           
 String getSentenceID(int addr)
           
 String getSubject(int addr)
           
 int getTypeID(int addr)
           
 int getUncertainty(int addr)
           
 void setConditional(int addr, boolean v)
           
 void setConfidence(int addr, float v)
           
 void setDiscoveryTechnique(int addr, int v)
           
 void setGeneric(int addr, boolean v)
           
 void setHistoryOf(int addr, int v)
           
 void setId(int addr, int v)
           
 void setOntologyConceptArr(int addr, int v)
           
 void setOntologyConceptArr(int addr, int i, int v)
           
 void setOriginalText(int addr, int v)
           
 void setOriginalText(int addr, int i, int v)
           
 void setPolarity(int addr, int v)
           
 void setSegmentID(int addr, String v)
           
 void setSentenceID(int addr, String v)
           
 void setSubject(int addr, String v)
           
 void setTypeID(int addr, int v)
           
 void setUncertainty(int addr, int v)
           
 
Methods inherited from class org.apache.uima.jcas.tcas.Annotation_Type
getBegin, getCoveredText, getEnd, setBegin, setEnd
 
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase_Type
getSofa, getView
 
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

featOkTst

public static final boolean featOkTst
Constructor Detail

IdentifiedAnnotation_Type

public IdentifiedAnnotation_Type(org.apache.uima.jcas.JCas jcas,
                                 org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features

Method Detail

getFSGenerator

protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
Overrides:
getFSGenerator in class org.apache.uima.jcas.tcas.Annotation_Type

getId

public int getId(int addr)

setId

public void setId(int addr,
                  int v)

getOntologyConceptArr

public int getOntologyConceptArr(int addr)

setOntologyConceptArr

public void setOntologyConceptArr(int addr,
                                  int v)

getOntologyConceptArr

public int getOntologyConceptArr(int addr,
                                 int i)

setOntologyConceptArr

public void setOntologyConceptArr(int addr,
                                  int i,
                                  int v)

getTypeID

public int getTypeID(int addr)

setTypeID

public void setTypeID(int addr,
                      int v)

getSegmentID

public String getSegmentID(int addr)

setSegmentID

public void setSegmentID(int addr,
                         String v)

getSentenceID

public String getSentenceID(int addr)

setSentenceID

public void setSentenceID(int addr,
                          String v)

getDiscoveryTechnique

public int getDiscoveryTechnique(int addr)

setDiscoveryTechnique

public void setDiscoveryTechnique(int addr,
                                  int v)

getConfidence

public float getConfidence(int addr)

setConfidence

public void setConfidence(int addr,
                          float v)

getPolarity

public int getPolarity(int addr)

setPolarity

public void setPolarity(int addr,
                        int v)

getUncertainty

public int getUncertainty(int addr)

setUncertainty

public void setUncertainty(int addr,
                           int v)

getConditional

public boolean getConditional(int addr)

setConditional

public void setConditional(int addr,
                           boolean v)

getGeneric

public boolean getGeneric(int addr)

setGeneric

public void setGeneric(int addr,
                       boolean v)

getSubject

public String getSubject(int addr)

setSubject

public void setSubject(int addr,
                       String v)

getHistoryOf

public int getHistoryOf(int addr)

setHistoryOf

public void setHistoryOf(int addr,
                         int v)

getOriginalText

public int getOriginalText(int addr)

setOriginalText

public void setOriginalText(int addr,
                            int v)

getOriginalText

public int getOriginalText(int addr,
                           int i)

setOriginalText

public void setOriginalText(int addr,
                            int i,
                            int v)


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.