efxtools.sample.type
Class Relation

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.uima.jcas.cas.AnnotationBase
              extended by org.apache.uima.jcas.tcas.Annotation
                  extended by 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


Field Summary
static int type
           
static int typeIndexID
           
 
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
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

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)
Method Detail

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.