example
Class PersonTitle
java.lang.Object
org.apache.uima.cas.impl.FeatureStructureImpl
org.apache.uima.jcas.cas.TOP
org.apache.uima.jcas.cas.AnnotationBase
org.apache.uima.jcas.tcas.Annotation
example.PersonTitle
- All Implemented Interfaces:
- java.lang.Cloneable, AnnotationBaseFS, FeatureStructure, AnnotationFS
public class PersonTitle
- extends Annotation
A Personal Title. Updated by JCasGen Mon May 23 17:48:43 EDT 2005 XML source:
c:\a\eclipse\301jxe\jedii_examples\descriptors\analysis_engine\NamesAndPersonTitles_TAE.xml
Method Summary |
java.lang.String |
getKind()
getter for Kind - gets The kind of title - Civilian, Military, or Government. |
int |
getTypeIndexID()
used to obtain reference to the TOP_Type instance |
void |
setKind(java.lang.String v)
setter for Kind - sets The kind of title - Civilian, Military, or Government. |
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.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 |
typeIndexID
public static final int typeIndexID
type
public static final int type
PersonTitle
protected PersonTitle()
- Never called. Disable default constructor
PersonTitle
public PersonTitle(int addr,
TOP_Type type)
- Internal - constructor used by generator
PersonTitle
public PersonTitle(JCas jcas)
PersonTitle
public PersonTitle(JCas jcas,
int begin,
int end)
getTypeIndexID
public int getTypeIndexID()
- Description copied from class:
TOP
- used to obtain reference to the TOP_Type instance
- Overrides:
getTypeIndexID
in class Annotation
- Returns:
- the type array index
getKind
public java.lang.String getKind()
- getter for Kind - gets The kind of title - Civilian, Military, or Government.
setKind
public void setKind(java.lang.String v)
- setter for Kind - sets The kind of title - Civilian, Military, or Government.
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.