public class NumericAttributeValue_Type extends AttributeValue_Type
Modifier and Type | Field and Description |
---|---|
(package private) Feature |
casFeat_numericValue |
(package private) int |
casFeatCode_numericValue |
static boolean |
featOkTst |
private FSGenerator |
fsGenerator |
static int |
typeIndexID |
casFeat_attributeName, casFeatCode_attributeName
Constructor and Description |
---|
NumericAttributeValue_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 |
getNumericValue(int addr) |
void |
setNumericValue(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_numericValue
final int casFeatCode_numericValue
public NumericAttributeValue_Type(JCas jcas, Type casType)
jcas
- JCascasType
- Typeprotected FSGenerator getFSGenerator()
getFSGenerator
in class AttributeValue_Type
public java.lang.String getNumericValue(int addr)
addr
- low level Feature Structure referencepublic void setNumericValue(int addr, java.lang.String v)
addr
- low level Feature Structure referencev
- value to set