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

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.ctakes.typesystem.type.relation.Relation
              extended by org.apache.ctakes.typesystem.type.relation.AttributeRelation
All Implemented Interfaces:
Cloneable, org.apache.uima.cas.FeatureStructure
Direct Known Subclasses:
DegreeOf

public class AttributeRelation
extends Relation

A real-world relationship between an Element and an Attribute. Updated by JCasGen Thu Nov 28 10:34:46 CST 2013 XML source: C:/build-Apache-cTAKES/ctakes-3.1.1/rc2/checkout/ctakes/target/checkout/ctakes-smoking-status/src/main/resources/org/apache/ctakes/smokingstatus/types/TypeSystem.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected AttributeRelation()
          Never called.
  AttributeRelation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  AttributeRelation(org.apache.uima.jcas.JCas jcas)
           
 
Method Summary
 Element getArg1()
          getter for arg1 - gets
 Attribute getArg2()
          getter for arg2 - gets
 int getTypeIndexID()
           
 void setArg1(Element v)
          setter for arg1 - sets
 void setArg2(Attribute v)
          setter for arg2 - sets
 
Methods inherited from class org.apache.ctakes.typesystem.type.relation.Relation
getCategory, getConfidence, getDiscoveryTechnique, getId, getPolarity, getUncertainty, setCategory, setConfidence, setDiscoveryTechnique, setId, setPolarity, setUncertainty
 
Methods inherited from class org.apache.uima.jcas.cas.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
 
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getBooleanValue, getByteValue, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, prettyPrint, prettyPrint, prettyPrint, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue, toString, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

AttributeRelation

protected AttributeRelation()
Never called. Disable default constructor


AttributeRelation

public AttributeRelation(int addr,
                         org.apache.uima.jcas.cas.TOP_Type type)
Internal - constructor used by generator


AttributeRelation

public AttributeRelation(org.apache.uima.jcas.JCas jcas)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class Relation

getArg1

public Element getArg1()
getter for arg1 - gets


setArg1

public void setArg1(Element v)
setter for arg1 - sets


getArg2

public Attribute getArg2()
getter for arg2 - gets


setArg2

public void setArg2(Attribute v)
setter for arg2 - sets



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