org.apache.ctakes.typesystem.type.relation
Class RelationArgument_Type

java.lang.Object
  extended by org.apache.uima.jcas.cas.TOP_Type
      extended by org.apache.ctakes.typesystem.type.relation.RelationArgument_Type

public class RelationArgument_Type
extends org.apache.uima.jcas.cas.TOP_Type

Relations are like lines connecting two or more endpoints. RelationArguments are used as endpoints that are text spans via the "argument" feature. The directed relations should specify a "role" feature. Updated by JCasGen Wed Nov 27 20:11:48 CST 2013


Field Summary
static boolean featOkTst
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP_Type
casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance
 
Constructor Summary
RelationArgument_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 getArgument(int addr)
           
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 int getId(int addr)
           
 int getParticipatesIn(int addr)
           
 String getRole(int addr)
           
 void setArgument(int addr, int v)
           
 void setId(int addr, int v)
           
 void setParticipatesIn(int addr, int v)
           
 void setRole(int addr, String v)
           
 
Methods inherited from class org.apache.uima.jcas.cas.TOP_Type
addToIndexes, checkType, getTypeIndexID, invalidTypeArg, noObjCreate, removeFromIndexes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

featOkTst

public static final boolean featOkTst
Constructor Detail

RelationArgument_Type

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

Method Detail

getFSGenerator

protected org.apache.uima.cas.impl.FSGenerator getFSGenerator()
Overrides:
getFSGenerator in class org.apache.uima.jcas.cas.TOP_Type

getId

public int getId(int addr)

setId

public void setId(int addr,
                  int v)

getArgument

public int getArgument(int addr)

setArgument

public void setArgument(int addr,
                        int v)

getRole

public String getRole(int addr)

setRole

public void setRole(int addr,
                    String v)

getParticipatesIn

public int getParticipatesIn(int addr)

setParticipatesIn

public void setParticipatesIn(int addr,
                              int v)


Copyright © 2012-2013 The Apache Software Foundation. All Rights Reserved.