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

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.uima.jcas.cas.AnnotationBase
              extended by org.apache.uima.jcas.tcas.Annotation
                  extended by org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
All Implemented Interfaces:
java.lang.Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS
Direct Known Subclasses:
ContextAnnotation, DateAnnotation, EntityMention, EventMention, FractionAnnotation, MeasurementAnnotation, Modifier, NonSmokerNamedEntityAnnotation, PADHit, PADLocation, PADTerm, PersonTitleAnnotation, RangeAnnotation, RomanNumeralAnnotation, SmokerNamedEntityAnnotation, TimeAnnotation, TimeMention, UnknownSmokerNamedEntityAnnotation

public class IdentifiedAnnotation
extends org.apache.uima.jcas.tcas.Annotation

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 Tue Apr 09 12:44:04 EDT 2013 XML source: trunk/ctakes-pad-term-spotter-res/src/main/resources/org/apache/ctakes/padtermspotter/types/TypeSystem.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected IdentifiedAnnotation()
          Never called.
  IdentifiedAnnotation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas)
           
  IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 boolean getConditional()
          getter for conditional - gets
 float getConfidence()
          getter for confidence - gets The confidence of the annotation.
 int getDiscoveryTechnique()
          getter for discoveryTechnique - gets
 boolean getGeneric()
          getter for generic - gets
 int getHistoryOf()
          getter for historyOf - gets
 int getId()
          getter for id - gets
 org.apache.uima.jcas.cas.FSArray getOntologyConceptArr()
          getter for ontologyConceptArr - gets
 OntologyConcept getOntologyConceptArr(int i)
          indexed getter for ontologyConceptArr - gets an indexed value -
 int getPolarity()
          getter for polarity - gets
 java.lang.String getSegmentID()
          getter for segmentID - gets
 java.lang.String getSentenceID()
          getter for sentenceID - gets contains the sentence id of the sentence that contains the NE's text span
 java.lang.String getSubject()
          getter for subject - gets
 int getTypeID()
          getter for typeID - gets The type of named entity (e.g.
 int getTypeIndexID()
           
 int getUncertainty()
          getter for uncertainty - gets
 void setConditional(boolean v)
          setter for conditional - sets
 void setConfidence(float v)
          setter for confidence - sets The confidence of the annotation.
 void setDiscoveryTechnique(int v)
          setter for discoveryTechnique - sets
 void setGeneric(boolean v)
          setter for generic - sets
 void setHistoryOf(int v)
          setter for historyOf - sets
 void setId(int v)
          setter for id - sets
 void setOntologyConceptArr(org.apache.uima.jcas.cas.FSArray v)
          setter for ontologyConceptArr - sets
 void setOntologyConceptArr(int i, OntologyConcept v)
          indexed setter for ontologyConceptArr - sets an indexed value -
 void setPolarity(int v)
          setter for polarity - sets
 void setSegmentID(java.lang.String v)
          setter for segmentID - sets
 void setSentenceID(java.lang.String v)
          setter for sentenceID - sets contains the sentence id of the sentence that contains the NE's text span
 void setSubject(java.lang.String v)
          setter for subject - sets
 void setTypeID(int v)
          setter for typeID - sets The type of named entity (e.g.
 void setUncertainty(int v)
          setter for uncertainty - sets
 
Methods inherited from class org.apache.uima.jcas.tcas.Annotation
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
 
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase
getSofa, getView
 
Methods inherited from class org.apache.uima.jcas.cas.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
 
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS
getView
 
Methods inherited from interface org.apache.uima.cas.FeatureStructure
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

IdentifiedAnnotation

protected IdentifiedAnnotation()
Never called. Disable default constructor


IdentifiedAnnotation

public IdentifiedAnnotation(int addr,
                            org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator


IdentifiedAnnotation

public IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas)

IdentifiedAnnotation

public IdentifiedAnnotation(org.apache.uima.jcas.JCas jcas,
                            int begin,
                            int end)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class org.apache.uima.jcas.tcas.Annotation

getId

public int getId()
getter for id - gets


setId

public void setId(int v)
setter for id - sets


getOntologyConceptArr

public org.apache.uima.jcas.cas.FSArray getOntologyConceptArr()
getter for ontologyConceptArr - gets


setOntologyConceptArr

public void setOntologyConceptArr(org.apache.uima.jcas.cas.FSArray v)
setter for ontologyConceptArr - sets


getOntologyConceptArr

public OntologyConcept getOntologyConceptArr(int i)
indexed getter for ontologyConceptArr - gets an indexed value -


setOntologyConceptArr

public void setOntologyConceptArr(int i,
                                  OntologyConcept v)
indexed setter for ontologyConceptArr - sets an indexed value -


getTypeID

public int getTypeID()
getter for typeID - gets The type of named entity (e.g. drug, disorder, ...)


setTypeID

public void setTypeID(int v)
setter for typeID - sets The type of named entity (e.g. drug, disorder, ...)


getSegmentID

public java.lang.String getSegmentID()
getter for segmentID - gets


setSegmentID

public void setSegmentID(java.lang.String v)
setter for segmentID - sets


getSentenceID

public java.lang.String getSentenceID()
getter for sentenceID - gets contains the sentence id of the sentence that contains the NE's text span


setSentenceID

public void setSentenceID(java.lang.String v)
setter for sentenceID - sets contains the sentence id of the sentence that contains the NE's text span


getDiscoveryTechnique

public int getDiscoveryTechnique()
getter for discoveryTechnique - gets


setDiscoveryTechnique

public void setDiscoveryTechnique(int v)
setter for discoveryTechnique - sets


getConfidence

public float getConfidence()
getter for confidence - gets The confidence of the annotation.


setConfidence

public void setConfidence(float v)
setter for confidence - sets The confidence of the annotation.


getPolarity

public int getPolarity()
getter for polarity - gets


setPolarity

public void setPolarity(int v)
setter for polarity - sets


getUncertainty

public int getUncertainty()
getter for uncertainty - gets


setUncertainty

public void setUncertainty(int v)
setter for uncertainty - sets


getConditional

public boolean getConditional()
getter for conditional - gets


setConditional

public void setConditional(boolean v)
setter for conditional - sets


getGeneric

public boolean getGeneric()
getter for generic - gets


setGeneric

public void setGeneric(boolean v)
setter for generic - sets


getSubject

public java.lang.String getSubject()
getter for subject - gets


setSubject

public void setSubject(java.lang.String v)
setter for subject - sets


getHistoryOf

public int getHistoryOf()
getter for historyOf - gets


setHistoryOf

public void setHistoryOf(int v)
setter for historyOf - sets