public class NominalAttributeValue_Type extends AttributeValue_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_nominalValue |
(package private) int |
casFeatCode_nominalValue |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
casFeat_attributeName, casFeatCode_attributeName
Constructor and Description |
---|
NominalAttributeValue_Type(JCas jcas,
Type casType)
initialize variables to correspond with Cas Type and Features
|
Modifier and Type | Method and Description |
---|---|
protected FSGenerator |
getFSGenerator() |
java.lang.String |
getNominalValue(int addr) |
void |
setNominalValue(int addr,
java.lang.String v) |
getAttributeName, setAttributeName
private final FSGenerator fsGenerator
public static final int typeIndexID
public static final boolean featOkTst
final Feature casFeat_nominalValue
final int casFeatCode_nominalValue
public NominalAttributeValue_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class AttributeValue_Type
public java.lang.String getNominalValue(int addr)
addr
- low level Feature Structure referencepublic void setNominalValue(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set