org.apache.ctakes.typesystem.type.relation
Class Relation_Type
java.lang.Object
org.apache.uima.jcas.cas.TOP_Type
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
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 |
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
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
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
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)