public class Assertion
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Assertion()
Never called.
|
|
Assertion(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Assertion(JCas jcas) |
|
Assertion(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAssertionType()
getter for assertionType - gets assertion type -- one of present, absent, possible, conditional, hypothetical, or assocated_with_someone_else
|
Concept |
getAssociatedConcept()
getter for associatedConcept - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setAssertionType(java.lang.String v)
setter for assertionType - sets assertion type -- one of present, absent, possible, conditional, hypothetical, or assocated_with_someone_else
|
void |
setAssociatedConcept(Concept v)
setter for associatedConcept - sets
|
protected Assertion()
public Assertion(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Assertion(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic Assertion(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 java.lang.String getAssertionType()
public void setAssertionType(java.lang.String v)
v
- value to set into the featurepublic Concept getAssociatedConcept()
public void setAssociatedConcept(Concept v)
v
- value to set into the feature