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

java.lang.Object
  extended by org.apache.uima.jcas.cas.TOP_Type
      extended by org.apache.ctakes.typesystem.type.relation.Relation_Type
Direct Known Subclasses:
AttributeRelation_Type, BinaryTextRelation_Type, CollectionTextRelation_Type, ElementRelation_Type, SemanticRoleRelation_Type

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

A superclass for semantic relationships between Elements. For example, one might consider TemporalRelations or UMLSRelations between a Medication and a Disorder. The "category" feature indicates what kind of relation it is. Updated by JCasGen Tue Apr 09 12:44:02 EDT 2013


Field Summary
(package private)  org.apache.uima.cas.Feature casFeat_category
           
(package private)  org.apache.uima.cas.Feature casFeat_confidence
           
(package private)  org.apache.uima.cas.Feature casFeat_discoveryTechnique
           
(package private)  org.apache.uima.cas.Feature casFeat_id
           
(package private)  org.apache.uima.cas.Feature casFeat_polarity
           
(package private)  org.apache.uima.cas.Feature casFeat_uncertainty
           
(package private)  int casFeatCode_category
           
(package private)  int casFeatCode_confidence
           
(package private)  int casFeatCode_discoveryTechnique
           
(package private)  int casFeatCode_id
           
(package private)  int casFeatCode_polarity
           
(package private)  int casFeatCode_uncertainty
           
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
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
 java.lang.String getCategory(int addr)
           
 double getConfidence(int addr)
           
 int getDiscoveryTechnique(int addr)
           
protected  org.apache.uima.cas.impl.FSGenerator getFSGenerator()
           
 int getId(int addr)
           
 int getPolarity(int addr)
           
 int getUncertainty(int addr)
           
 void setCategory(int addr, java.lang.String v)
           
 void setConfidence(int addr, double v)
           
 void setDiscoveryTechnique(int addr, int v)
           
 void setId(int addr, int v)
           
 void setPolarity(int addr, int v)
           
 void setUncertainty(int addr, int 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

casFeat_id

final org.apache.uima.cas.Feature casFeat_id

casFeatCode_id

final int casFeatCode_id

casFeat_category

final org.apache.uima.cas.Feature casFeat_category

casFeatCode_category

final int casFeatCode_category

casFeat_discoveryTechnique

final org.apache.uima.cas.Feature casFeat_discoveryTechnique

casFeatCode_discoveryTechnique

final int casFeatCode_discoveryTechnique

casFeat_confidence

final org.apache.uima.cas.Feature casFeat_confidence

casFeatCode_confidence

final int casFeatCode_confidence

casFeat_polarity

final org.apache.uima.cas.Feature casFeat_polarity

casFeatCode_polarity

final int casFeatCode_polarity

casFeat_uncertainty

final org.apache.uima.cas.Feature casFeat_uncertainty

casFeatCode_uncertainty

final int casFeatCode_uncertainty
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

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)

getCategory

public java.lang.String getCategory(int addr)

setCategory

public void setCategory(int addr,
                        java.lang.String v)

getDiscoveryTechnique

public int getDiscoveryTechnique(int addr)

setDiscoveryTechnique

public void setDiscoveryTechnique(int addr,
                                  int v)

getConfidence

public double getConfidence(int addr)

setConfidence

public void setConfidence(int addr,
                          double v)

getPolarity

public int getPolarity(int addr)

setPolarity

public void setPolarity(int addr,
                        int v)

getUncertainty

public int getUncertainty(int addr)

setUncertainty

public void setUncertainty(int addr,
                           int v)