public class FrequencyUnitAnnotation
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
FrequencyUnitAnnotation()
Never called.
|
|
FrequencyUnitAnnotation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
FrequencyUnitAnnotation(JCas jcas) |
|
FrequencyUnitAnnotation(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
float |
getPeriod()
getter for period - gets The periodic unit used, e.g day, month, hour, etc.
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setPeriod(float v)
setter for period - sets The periodic unit used, e.g day, month, hour, etc.
|
protected FrequencyUnitAnnotation()
public FrequencyUnitAnnotation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic FrequencyUnitAnnotation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic FrequencyUnitAnnotation(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()
private void readObject()
public float getPeriod()
public void setPeriod(float v)
v
- value to set into the feature