org.apache.ctakes.typesystem.type.textspan
Class Segment_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.textspan.Segment_Type

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

A section of a clinical text, e.g., Diagnosis, Current Medications, Problem List. Different segments often have differing sublanguages and clinical relevance. Equivalent to cTAKES: edu.mayo.bmi.uima.core.type.Segment Updated by JCasGen Tue Apr 09 12:44:06 EDT 2013


Field Summary
(package private)  org.apache.uima.cas.Feature casFeat_id
           
(package private)  int casFeatCode_id
           
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
Segment_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
          initialize variables to correspond with Cas Type and Features
 
Method Summary
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 java.lang.String getId(int addr)
           
 void setId(int addr, java.lang.String 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

casFeat_id

final org.apache.uima.cas.Feature casFeat_id

casFeatCode_id

final int casFeatCode_id
Constructor Detail

Segment_Type

public Segment_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 java.lang.String getId(int addr)

setId

public void setId(int addr,
                  java.lang.String v)