public class ElementRelation extends Relation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
ElementRelation()
Never called.
|
|
ElementRelation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
ElementRelation(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
Element |
getArg1()
getter for arg1 - gets
|
Element |
getArg2()
getter for arg2 - gets
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setArg1(Element v)
setter for arg1 - sets
|
void |
setArg2(Element v)
setter for arg2 - sets
|
getCategory, getConditional, getConfidence, getDiscoveryTechnique, getId, getPolarity, getUncertainty, setCategory, setConditional, setConfidence, setDiscoveryTechnique, setId, setPolarity, setUncertainty
protected ElementRelation()
public ElementRelation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic ElementRelation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
getTypeIndexID
in class Relation
private void readObject()
public Element getArg1()
public void setArg1(Element v)
v
- value to set into the featurepublic Element getArg2()
public void setArg2(Element v)
v
- value to set into the feature