org.apache.ctakes.typesystem.type.relation
Class RelationArgument_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
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
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 |
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 |
typeIndexID
public static final int typeIndexID
featOkTst
public static final boolean featOkTst
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
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.