efxtools.sample.type
Class Relation
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
efxtools.sample.type.Relation
- All Implemented Interfaces:
- java.lang.Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS
- Direct Known Subclasses:
- Financial, Founded
public class Relation
- extends org.apache.uima.jcas.tcas.Annotation
A generic binary relation
Updated by JCasGen Tue Jul 24 14:47:41 CEST 2012
XML source: /Users/hwachsmuth/Documents/Arbeit/workspace/IE-as-a-Filtering-Task/desc/typesystems/SampleTypeSystem.xml
| Fields inherited from class org.apache.uima.jcas.cas.TOP |
jcasType |
|
Constructor Summary |
Relation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator |
Relation(org.apache.uima.jcas.JCas jcas)
|
Relation(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
|
|
Method Summary |
org.apache.uima.jcas.tcas.Annotation |
getFirst()
getter for first - gets The first argument of the relation. |
org.apache.uima.jcas.tcas.Annotation |
getSecond()
getter for second - gets The second argument of the relation. |
int |
getTypeIndexID()
|
void |
setFirst(org.apache.uima.jcas.tcas.Annotation v)
setter for first - sets The first argument of the relation. |
void |
setSecond(org.apache.uima.jcas.tcas.Annotation v)
setter for second - sets The second argument of the relation. |
| Methods inherited from class org.apache.uima.jcas.tcas.Annotation |
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd |
| Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase |
getSofa, getView |
| Methods inherited from class org.apache.uima.jcas.cas.TOP |
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes |
| Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl |
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS |
getView |
| Methods inherited from interface org.apache.uima.cas.FeatureStructure |
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue |
typeIndexID
public static final int typeIndexID
type
public static final int type
Relation
public Relation(int addr,
org.apache.uima.jcas.cas.TOP_Type type)
- Internal - constructor used by generator
Relation
public Relation(org.apache.uima.jcas.JCas jcas)
Relation
public Relation(org.apache.uima.jcas.JCas jcas,
int begin,
int end)
getTypeIndexID
public int getTypeIndexID()
- Overrides:
getTypeIndexID in class org.apache.uima.jcas.tcas.Annotation
getFirst
public org.apache.uima.jcas.tcas.Annotation getFirst()
- getter for first - gets The first argument of the relation.
setFirst
public void setFirst(org.apache.uima.jcas.tcas.Annotation v)
- setter for first - sets The first argument of the relation.
getSecond
public org.apache.uima.jcas.tcas.Annotation getSecond()
- getter for second - gets The second argument of the relation.
setSecond
public void setSecond(org.apache.uima.jcas.tcas.Annotation v)
- setter for second - sets The second argument of the relation.