Package de.julielab.jcore.types
Class XmiMetaData_Type
- java.lang.Object
-
- org.apache.uima.jcas.cas.TOP_Type
-
- org.apache.uima.jcas.cas.AnnotationBase_Type
-
- org.apache.uima.jcas.tcas.Annotation_Type
-
- de.julielab.jcore.types.XmiMetaData_Type
-
public class XmiMetaData_Type extends org.apache.uima.jcas.tcas.Annotation_TypeThis type stores required information for the appropiate handling of consistent XMI deserialization in the XMI reader and serialization in the XMI consumer with respect to the separate storage of annotations. Updated by JCasGen Fri Jun 30 13:54:20 CEST 2017
-
-
Field Summary
Fields Modifier and Type Field Description static booleanfeatOkTststatic inttypeIndexID
-
Constructor Summary
Constructors Constructor Description XmiMetaData_Type(org.apache.uima.jcas.JCas jcas, org.apache.uima.cas.Type casType)initialize variables to correspond with Cas Type and Features
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxXmiId(int addr)intgetSofaIdMappings(int addr)StringgetSofaIdMappings(int addr, int i)voidsetMaxXmiId(int addr, int v)voidsetSofaIdMappings(int addr, int v)voidsetSofaIdMappings(int addr, int i, String v)-
Methods inherited from class org.apache.uima.jcas.tcas.Annotation_Type
getBegin, getCoveredText, getEnd, getFSGenerator, setBegin, setEnd
-
-
-
-
Method Detail
-
getMaxXmiId
public int getMaxXmiId(int addr)
- Parameters:
addr- low level Feature Structure reference- Returns:
- the feature value
-
setMaxXmiId
public void setMaxXmiId(int addr, int v)- Parameters:
addr- low level Feature Structure referencev- value to set
-
getSofaIdMappings
public int getSofaIdMappings(int addr)
- Parameters:
addr- low level Feature Structure reference- Returns:
- the feature value
-
setSofaIdMappings
public void setSofaIdMappings(int addr, int v)- Parameters:
addr- low level Feature Structure referencev- value to set
-
getSofaIdMappings
public String getSofaIdMappings(int addr, int i)
- Parameters:
addr- low level Feature Structure referencei- index of item in the array- Returns:
- value at index i in the array
-
setSofaIdMappings
public void setSofaIdMappings(int addr, int i, String v)- Parameters:
addr- low level Feature Structure referencei- index of item in the arrayv- value to set
-
-