public class BooleanLabeledFS_Type
extends org.apache.uima.jcas.cas.TOP_Type
Modifier and Type | Field and Description |
---|---|
static boolean |
featOkTst |
static int |
typeIndexID |
Constructor and Description |
---|
BooleanLabeledFS_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 |
---|---|
int |
getFeature(int addr) |
boolean |
getLabel(int addr) |
void |
setFeature(int addr,
int v) |
void |
setLabel(int addr,
boolean v) |
public static final int typeIndexID
public static final boolean featOkTst
public BooleanLabeledFS_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
jcas
- JCascasType
- Typepublic boolean getLabel(int addr)
addr
- low level Feature Structure referencepublic void setLabel(int addr, boolean v)
addr
- low level Feature Structure referencev
- value to setpublic int getFeature(int addr)
addr
- low level Feature Structure referencepublic void setFeature(int addr, int v)
addr
- low level Feature Structure referencev
- value to setCopyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.