public class Relation
extends TOP
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
Relation()
Never called.
|
|
Relation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Relation(JCas jcas) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCategory()
getter for category - gets
|
boolean |
getConditional()
getter for conditional - gets Whether the relation is conditional/hypothetical.
|
double |
getConfidence()
getter for confidence - gets
|
int |
getDiscoveryTechnique()
getter for discoveryTechnique - gets
|
int |
getId()
getter for id - gets
|
int |
getPolarity()
getter for polarity - gets
|
int |
getTypeIndexID() |
int |
getUncertainty()
getter for uncertainty - gets
|
private void |
readObject()
Write your own initialization here
|
void |
setCategory(java.lang.String v)
setter for category - sets
|
void |
setConditional(boolean v)
setter for conditional - sets Whether the relation is conditional/hypothetical.
|
void |
setConfidence(double v)
setter for confidence - sets
|
void |
setDiscoveryTechnique(int v)
setter for discoveryTechnique - sets
|
void |
setId(int v)
setter for id - sets
|
void |
setPolarity(int v)
setter for polarity - sets
|
void |
setUncertainty(int v)
setter for uncertainty - sets
|
protected Relation()
public Relation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic Relation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic int getTypeIndexID()
private void readObject()
public int getId()
public void setId(int v)
v
- value to set into the featurepublic java.lang.String getCategory()
public void setCategory(java.lang.String v)
v
- value to set into the featurepublic int getDiscoveryTechnique()
public void setDiscoveryTechnique(int v)
v
- value to set into the featurepublic double getConfidence()
public void setConfidence(double v)
v
- value to set into the featurepublic int getPolarity()
public void setPolarity(int v)
v
- value to set into the featurepublic int getUncertainty()
public void setUncertainty(int v)
v
- value to set into the featurepublic boolean getConditional()
public void setConditional(boolean v)
v
- value to set into the feature