public class SubSectionAnnotation
extends Annotation
Modifier and Type | Field and Description |
---|---|
static int |
type |
static int |
typeIndexID |
Modifier | Constructor and Description |
---|---|
protected |
SubSectionAnnotation()
Never called.
|
|
SubSectionAnnotation(int addr,
TOP_Type type)
Internal - constructor used by generator
|
|
SubSectionAnnotation(JCas jcas) |
|
SubSectionAnnotation(JCas jcas,
int begin,
int end) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getParentSectionId()
getter for parentSectionId - gets The section in which the subsection was found.
|
int |
getStatus()
getter for status - gets Status of 'possible', 'history of', or 'family history of'.
|
int |
getSubSectionBodyBegin()
getter for subSectionBodyBegin - gets Sub-section body begin offset.
|
int |
getSubSectionBodyEnd()
getter for subSectionBodyEnd - gets Sub-section body end offset.
|
int |
getSubSectionHeaderBegin()
getter for subSectionHeaderBegin - gets Begin offset of subSection header
|
int |
getSubSectionHeaderEnd()
getter for subSectionHeaderEnd - gets Ending offset of subsection header
|
int |
getTypeIndexID() |
private void |
readObject()
Write your own initialization here
|
void |
setParentSectionId(java.lang.String v)
setter for parentSectionId - sets The section in which the subsection was found.
|
void |
setStatus(int v)
setter for status - sets Status of 'possible', 'history of', or 'family history of'.
|
void |
setSubSectionBodyBegin(int v)
setter for subSectionBodyBegin - sets Sub-section body begin offset.
|
void |
setSubSectionBodyEnd(int v)
setter for subSectionBodyEnd - sets Sub-section body end offset.
|
void |
setSubSectionHeaderBegin(int v)
setter for subSectionHeaderBegin - sets Begin offset of subSection header
|
void |
setSubSectionHeaderEnd(int v)
setter for subSectionHeaderEnd - sets Ending offset of subsection header
|
protected SubSectionAnnotation()
public SubSectionAnnotation(int addr, TOP_Type type)
addr
- low level Feature Structure referencetype
- the type of this Feature Structurepublic SubSectionAnnotation(JCas jcas)
jcas
- JCas to which this Feature Structure belongspublic SubSectionAnnotation(JCas jcas, int begin, int end)
jcas
- JCas to which this Feature Structure belongsbegin
- offset to the begin spot in the SofAend
- offset to the end spot in the SofApublic int getTypeIndexID()
private void readObject()
public int getSubSectionBodyBegin()
public void setSubSectionBodyBegin(int v)
v
- value to set into the featurepublic int getSubSectionBodyEnd()
public void setSubSectionBodyEnd(int v)
v
- value to set into the featurepublic int getStatus()
public void setStatus(int v)
v
- value to set into the featurepublic int getSubSectionHeaderBegin()
public void setSubSectionHeaderBegin(int v)
v
- value to set into the featurepublic int getSubSectionHeaderEnd()
public void setSubSectionHeaderEnd(int v)
v
- value to set into the featurepublic java.lang.String getParentSectionId()
public void setParentSectionId(java.lang.String v)
v
- value to set into the feature