efxtools.sample.type
Class Relation_Type

java.lang.Object
  extended by org.apache.uima.jcas.cas.TOP_Type
      extended by org.apache.uima.jcas.cas.AnnotationBase_Type
          extended by org.apache.uima.jcas.tcas.Annotation_Type
              extended by efxtools.sample.type.Relation_Type
Direct Known Subclasses:
Financial_Type, Founded_Type

public class Relation_Type
extends org.apache.uima.jcas.tcas.Annotation_Type

A generic binary relation Updated by JCasGen Tue Jul 24 14:47:41 CEST 2012


Field Summary
static boolean featOkTst
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type
casImpl, casType, casTypeCode, jcas, ll_cas, useExistingInstance
 
Constructor Summary
Relation_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)
          initialize variables to correspond with Cas Type and Features
 
Method Summary
 int getFirst(int addr)
           
 int getSecond(int addr)
           
 void setFirst(int addr, int v)
           
 void setSecond(int addr, int v)
           
 
Methods inherited from class org.apache.uima.jcas.tcas.Annotation_Type
getBegin, getCoveredText, getEnd, setBegin, setEnd
 
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase_Type
getSofa, getView
 
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type
addToIndexes, getTypeIndexID, noObjCreate, removeFromIndexes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

featOkTst

public static final boolean featOkTst
Constructor Detail

Relation_Type

public Relation_Type(org.apache.uima.jcas.JCas jcas,
                     org.apache.uima.cas.Type casType)
initialize variables to correspond with Cas Type and Features

Method Detail

getFirst

public int getFirst(int addr)

setFirst

public void setFirst(int addr,
                     int v)

getSecond

public int getSecond(int addr)

setSecond

public void setSecond(int addr,
                      int v)