org.apache.uima.tools.cfe.sample
Class CarAnnotation

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.uima.tools.cfe.sample.CarAnnotation
All Implemented Interfaces:
Cloneable, org.apache.uima.cas.AnnotationBaseFS, org.apache.uima.cas.FeatureStructure, org.apache.uima.cas.text.AnnotationFS

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

Updated by JCasGen Fri Sep 05 14:53:11 EDT 2008 XML source: C:/eclipse/CFE/resources/samples/SampleTypeSystem.xml


Field Summary
static int type
           
static int typeIndexID
           
 
Fields inherited from class org.apache.uima.jcas.cas.TOP
addr, jcasType
 
Constructor Summary
protected CarAnnotation()
          Never called.
  CarAnnotation(int addr, org.apache.uima.jcas.cas.TOP_Type type)
          Internal - constructor used by generator
  CarAnnotation(org.apache.uima.jcas.JCas jcas)
           
  CarAnnotation(org.apache.uima.jcas.JCas jcas, int begin, int end)
           
 
Method Summary
 EngineAnnotation getEngine()
          getter for Engine - gets engine of a car
 int getTypeIndexID()
           
 org.apache.uima.jcas.cas.FSArray getWheels()
          getter for Wheels - gets wheels of a car
 WheelAnnotation getWheels(int i)
          indexed getter for Wheels - gets an indexed value - wheels of a car
 void setEngine(EngineAnnotation v)
          setter for Engine - sets engine of a car
 void setWheels(org.apache.uima.jcas.cas.FSArray v)
          setter for Wheels - sets wheels of a car
 void setWheels(int i, WheelAnnotation v)
          indexed setter for Wheels - sets an indexed value - wheels of a car
 
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

CarAnnotation

protected CarAnnotation()
Never called. Disable default constructor


CarAnnotation

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


CarAnnotation

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

CarAnnotation

public CarAnnotation(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

getWheels

public org.apache.uima.jcas.cas.FSArray getWheels()
getter for Wheels - gets wheels of a car


setWheels

public void setWheels(org.apache.uima.jcas.cas.FSArray v)
setter for Wheels - sets wheels of a car


getWheels

public WheelAnnotation getWheels(int i)
indexed getter for Wheels - gets an indexed value - wheels of a car


setWheels

public void setWheels(int i,
                      WheelAnnotation v)
indexed setter for Wheels - sets an indexed value - wheels of a car


getEngine

public EngineAnnotation getEngine()
getter for Engine - gets engine of a car


setEngine

public void setEngine(EngineAnnotation v)
setter for Engine - sets engine of a car



Copyright © 2006-2011 The Apache Software Foundation. All Rights Reserved.