public class Header extends Annotation
| Modifier and Type | Field and Description |
|---|---|
static int |
type |
static int |
typeIndexID |
| Modifier | Constructor and Description |
|---|---|
protected |
Header()
Never called.
|
|
Header(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
Header(JCas jcas) |
|
Header(JCas jcas,
int begin,
int end) |
| Modifier and Type | Method and Description |
|---|---|
FSArray |
getAuthors()
getter for authors - gets
|
AuthorInfo |
getAuthors(int i)
indexed getter for authors - gets an indexed value -
|
int |
getTypeIndexID() |
void |
setAuthors(FSArray v)
setter for authors - sets
|
void |
setAuthors(int i,
AuthorInfo v)
indexed setter for authors - sets an indexed value -
|
getBegin, getCoveredText, getEnd, getStart, setBegin, setEndgetSofa, getViewaddToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexesclone, 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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitgetViewclone, equals, getBooleanValue, getByteValue, getCAS, getDoubleValue, getFeatureValue, getFeatureValueAsString, getFloatValue, getIntValue, getLongValue, getShortValue, getStringValue, getType, hashCode, setBooleanValue, setByteValue, setDoubleValue, setFeatureValue, setFeatureValueFromString, setFloatValue, setIntValue, setLongValue, setShortValue, setStringValuepublic static final int type
public static final int typeIndexID
protected Header()
public Header(int addr, TOP_Type type)
addr - low level Feature Structure referencetype - the type of this Feature Structurepublic Header(JCas jcas)
jcas - JCas to which this Feature Structure belongspublic FSArray getAuthors()
public AuthorInfo getAuthors(int i)
i - index in the array to getpublic int getTypeIndexID()
getTypeIndexID in class Annotationpublic void setAuthors(FSArray v)
v - value to set into the featurepublic void setAuthors(int i, AuthorInfo v)
i - index in the array to setv - value to set into the arrayCopyright © 2014. All rights reserved.