org.apache.ctakes.typesystem.type.refsem
Class MedicationDuration

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.refsem.Element
              extended by org.apache.ctakes.typesystem.type.refsem.Attribute
                  extended by org.apache.ctakes.typesystem.type.refsem.MedicationDuration
All Implemented Interfaces:
Cloneable, org.apache.uima.cas.FeatureStructure

public class MedicationDuration
extends Attribute

The amount of time after which a medication should stop being used, e.g., "2 weeks" in "one 5 mg tablet twice-a-day for 2 weeks" Updated by JCasGen Thu Nov 28 10:35:55 CST 2013 XML source: C:/build-Apache-cTAKES/ctakes-3.1.1/rc2/checkout/ctakes/target/checkout/ctakes-pad-term-spotter/src/main/resources/org/apache/ctakes/padtermspotter/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 MedicationDuration()
          Never called.
  MedicationDuration(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  MedicationDuration(org.apache.uima.jcas.JCas jcas)
           
 
Method Summary
 int getTypeIndexID()
           
 String getValue()
          getter for value - gets
 void setValue(String v)
          setter for value - sets
 
Methods inherited from class org.apache.ctakes.typesystem.type.refsem.Element
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getMentions, getMentions, getOntologyConcept, getPolarity, getSubject, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setMentions, setMentions, setOntologyConcept, setPolarity, setSubject, 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

MedicationDuration

protected MedicationDuration()
Never called. Disable default constructor


MedicationDuration

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


MedicationDuration

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

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class Attribute

getValue

public String getValue()
getter for value - gets


setValue

public void setValue(String v)
setter for value - sets



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