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