public class NumericAttributeValue extends AttributeValue
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
NumericAttributeValue()
Never called.
|
|
NumericAttributeValue(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
NumericAttributeValue(JCas jcas) |
|
NumericAttributeValue(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNumericValue()
getter for numericValue - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setNumericValue(java.lang.String v)
setter for numericValue - sets
|
getAttributeName, setAttributeName
protected NumericAttributeValue()
public NumericAttributeValue(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic NumericAttributeValue(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic NumericAttributeValue(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
getTypeIndexID
in class AttributeValue
private void readObject()
public java.lang.String getNumericValue()
public void setNumericValue(java.lang.String v)
v
- value to set into the feature