anl.aida.types
Class Lookup

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 anl.aida.types.Lookup
All Implemented Interfaces:
java.lang.Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS

public class Lookup
extends org.apache.uima.jcas.tcas.Annotation

Mirrors the GATE lookup annotation. Updated by JCasGen Thu Jan 22 11:02:10 EST 2009


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected Lookup()
          Never called.
  Lookup(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  Lookup(org.apache.uima.jcas.JCas jcas)
           
  Lookup(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 java.lang.String getMajorType()
          getter for majorType - gets
 java.lang.String getMinorType()
          getter for minorType - gets
 int getTypeIndexID()
           
private  void readObject()
          Write your own initialization here
 void setMajorType(java.lang.String v)
          setter for majorType - sets
 void setMinorType(java.lang.String v)
          setter for minorType - sets
 
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

Lookup

protected Lookup()
Never called. Disable default constructor


Lookup

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


Lookup

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

Lookup

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

getTypeIndexID

public int getTypeIndexID()
Overrides:
getTypeIndexID in class org.apache.uima.jcas.tcas.Annotation

readObject

private void readObject()
Write your own initialization here


getMajorType

public java.lang.String getMajorType()
getter for majorType - gets


setMajorType

public void setMajorType(java.lang.String v)
setter for majorType - sets


getMinorType

public java.lang.String getMinorType()
getter for minorType - gets


setMinorType

public void setMinorType(java.lang.String v)
setter for minorType - sets