org.apache.ctakes.padtermspotter.type
Class PADLocation

java.lang.Object
  extended by org.apache.uima.cas.impl.FeatureStructureImpl
      extended by org.apache.uima.jcas.cas.TOP
          extended by org.apache.uima.jcas.cas.AnnotationBase
              extended by org.apache.uima.jcas.tcas.Annotation
                  extended by org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
                      extended by org.apache.ctakes.padtermspotter.type.PADLocation
All Implemented Interfaces:
java.lang.Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS

public class PADLocation
extends IdentifiedAnnotation

Updated by JCasGen Tue Apr 09 12:44:01 EDT 2013 XML source: trunk/ctakes-pad-term-spotter-res/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 PADLocation()
          Never called.
  PADLocation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  PADLocation(org.apache.uima.jcas.JCas jcas)
           
  PADLocation(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 java.lang.String getHitDictionaryValue()
          getter for hitDictionaryValue - gets Value from the Dictionary that was successfully looked up
 int getIsStandAlone()
          getter for isStandAlone - gets Identifies weather this term needs another dictionary hit to be considered as a valid hit.
 org.apache.uima.jcas.cas.FSArray getRelatedTokens()
          getter for relatedTokens - gets identifies the token that this PADTerm spans
 org.apache.uima.jcas.cas.TOP getRelatedTokens(int i)
          indexed getter for relatedTokens - gets an indexed value - identifies the token that this PADTerm spans
 int getTypeIndexID()
           
 void setHitDictionaryValue(java.lang.String v)
          setter for hitDictionaryValue - sets Value from the Dictionary that was successfully looked up
 void setIsStandAlone(int v)
          setter for isStandAlone - sets Identifies weather this term needs another dictionary hit to be considered as a valid hit.
 void setRelatedTokens(org.apache.uima.jcas.cas.FSArray v)
          setter for relatedTokens - sets identifies the token that this PADTerm spans
 void setRelatedTokens(int i, org.apache.uima.jcas.cas.TOP v)
          indexed setter for relatedTokens - sets an indexed value - identifies the token that this PADTerm spans
 
Methods inherited from class org.apache.ctakes.typesystem.type.textsem.IdentifiedAnnotation
getConditional, getConfidence, getDiscoveryTechnique, getGeneric, getHistoryOf, getId, getOntologyConceptArr, getOntologyConceptArr, getPolarity, getSegmentID, getSentenceID, getSubject, getTypeID, getUncertainty, setConditional, setConfidence, setDiscoveryTechnique, setGeneric, setHistoryOf, setId, setOntologyConceptArr, setOntologyConceptArr, setPolarity, setSegmentID, setSentenceID, setSubject, setTypeID, setUncertainty
 
Methods inherited from class org.apache.uima.jcas.tcas.Annotation
getBegin, getCoveredText, getEnd, getStart, setBegin, setEnd
 
Methods inherited from class org.apache.uima.jcas.cas.AnnotationBase
getSofa, getView
 
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
 
Methods inherited from interface org.apache.uima.cas.AnnotationBaseFS
getView
 
Methods inherited from interface org.apache.uima.cas.FeatureStructure
clone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValue
 

Field Detail

typeIndexID

public static final int typeIndexID

type

public static final int type
Constructor Detail

PADLocation

protected PADLocation()
Never called. Disable default constructor


PADLocation

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


PADLocation

public PADLocation(org.apache.uima.jcas.JCas jcas)

PADLocation

public PADLocation(org.apache.uima.jcas.JCas jcas,
                   int begin,
                   int end)
Method Detail

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class IdentifiedAnnotation

getHitDictionaryValue

public java.lang.String getHitDictionaryValue()
getter for hitDictionaryValue - gets Value from the Dictionary that was successfully looked up


setHitDictionaryValue

public void setHitDictionaryValue(java.lang.String v)
setter for hitDictionaryValue - sets Value from the Dictionary that was successfully looked up


getIsStandAlone

public int getIsStandAlone()
getter for isStandAlone - gets Identifies weather this term needs another dictionary hit to be considered as a valid hit. Currently this is being used for Unstable Angina which requires "Term" and "Location" to be present in the text to be considered as a valid hit. Valid values are 0 and 1. Where, 0 is false (not standalone) and 1 is true (is standalone)


setIsStandAlone

public void setIsStandAlone(int v)
setter for isStandAlone - sets Identifies weather this term needs another dictionary hit to be considered as a valid hit. Currently this is being used for Unstable Angina which requires "Term" and "Location" to be present in the text to be considered as a valid hit. Valid values are 0 and 1. Where, 0 is false (not standalone) and 1 is true (is standalone)


getRelatedTokens

public org.apache.uima.jcas.cas.FSArray getRelatedTokens()
getter for relatedTokens - gets identifies the token that this PADTerm spans


setRelatedTokens

public void setRelatedTokens(org.apache.uima.jcas.cas.FSArray v)
setter for relatedTokens - sets identifies the token that this PADTerm spans


getRelatedTokens

public org.apache.uima.jcas.cas.TOP getRelatedTokens(int i)
indexed getter for relatedTokens - gets an indexed value - identifies the token that this PADTerm spans


setRelatedTokens

public void setRelatedTokens(int i,
                             org.apache.uima.jcas.cas.TOP v)
indexed setter for relatedTokens - sets an indexed value - identifies the token that this PADTerm spans