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