public class Segment_Type
extends org.apache.uima.jcas.tcas.Annotation_Type
Modifier and Type | Field and Description |
---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
Constructor and Description |
---|
Segment_Type(org.apache.uima.jcas.JCas jcas,
org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
String |
getId(int addr) |
String |
getPreferredText(int addr) |
void |
setId(int addr,
String v) |
void |
setPreferredText(int addr,
String v) |
getBegin, getCoveredText, getEnd, getFSGenerator, setBegin, setEnd
public static final int typeIndexID
public static final boolean featOkTst
public Segment_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
jcas
- JCascasType
- Typepublic String getId(int addr)
addr
- low level Feature Structure referencepublic void setId(int addr, String v)
addr
- low level Feature Structure referencev
- value to setpublic String getPreferredText(int addr)
addr
- low level Feature Structure referencepublic void setPreferredText(int addr, String v)
addr
- low level Feature Structure referencev
- value to setCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.