Package de.julielab.jcore.types
Class XmiMetaData
- 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
-
- de.julielab.jcore.types.XmiMetaData
-
- All Implemented Interfaces:
Cloneable,org.apache.uima.cas.AnnotationBaseFS,org.apache.uima.cas.FeatureStructure,org.apache.uima.cas.text.AnnotationFS
public class XmiMetaData extends org.apache.uima.jcas.tcas.AnnotationThis 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 XML source: /Volumes/OUTERSPACE/Coding/workspace-semedico-nightly/jules-xmi-splitter/src/main/resources/de/julielab/jcore/types/jcore-xmi-splitter-types.xml
-
-
Field Summary
Fields Modifier and Type Field Description static inttypestatic inttypeIndexID
-
Constructor Summary
Constructors Modifier Constructor Description protectedXmiMetaData()Never called.XmiMetaData(int addr, org.apache.uima.jcas.cas.TOP_Type type)Internal - constructor used by generatorXmiMetaData(org.apache.uima.jcas.JCas jcas)XmiMetaData(org.apache.uima.jcas.JCas jcas, int begin, int end)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMaxXmiId()getter for maxXmiId - getsorg.apache.uima.jcas.cas.StringArraygetSofaIdMappings()getter for sofaIdMappings - gets Mappings from sofa xmi:id to the sofa name, i.e.StringgetSofaIdMappings(int i)indexed getter for sofaIdMappings - gets an indexed value - Mappings from sofa xmi:id to the sofa name, i.e.intgetTypeIndexID()voidsetMaxXmiId(int v)setter for maxXmiId - setsvoidsetSofaIdMappings(int i, String v)indexed setter for sofaIdMappings - sets an indexed value - Mappings from sofa xmi:id to the sofa name, i.e.voidsetSofaIdMappings(org.apache.uima.jcas.cas.StringArray v)setter for sofaIdMappings - sets Mappings from sofa xmi:id to the sofa name, i.e.-
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.TOP
addToIndexes, addToIndexes, equals, getAddress, getCAS, getCASImpl, getLowLevelCas, hashCode, removeFromIndexes, removeFromIndexes
-
Methods inherited from class org.apache.uima.cas.impl.FeatureStructureImpl
clone, getavoidcollisionTypeCode, 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
-
-
-
-
Constructor Detail
-
XmiMetaData
protected XmiMetaData()
Never called. Disable default constructor
-
XmiMetaData
public XmiMetaData(int addr, org.apache.uima.jcas.cas.TOP_Type type)Internal - constructor used by generator- Parameters:
addr- low level Feature Structure referencetype- the type of this Feature Structure
-
XmiMetaData
public XmiMetaData(org.apache.uima.jcas.JCas jcas)
- Parameters:
jcas- JCas to which this Feature Structure belongs
-
XmiMetaData
public XmiMetaData(org.apache.uima.jcas.JCas jcas, int begin, int end)- Parameters:
jcas- JCas to which this Feature Structure belongsbegin- offset to the begin spot in the SofAend- offset to the end spot in the SofA
-
-
Method Detail
-
getTypeIndexID
public int getTypeIndexID()
- Overrides:
getTypeIndexIDin classorg.apache.uima.jcas.tcas.Annotation- Returns:
- index of the type
-
getMaxXmiId
public int getMaxXmiId()
getter for maxXmiId - gets- Returns:
- value of the feature
-
setMaxXmiId
public void setMaxXmiId(int v)
setter for maxXmiId - sets- Parameters:
v- value to set into the feature
-
getSofaIdMappings
public org.apache.uima.jcas.cas.StringArray getSofaIdMappings()
getter for sofaIdMappings - gets Mappings from sofa xmi:id to the sofa name, i.e. the sofaID attribute in XMI format. A mapping has the form xmiId=sofaID.- Returns:
- value of the feature
-
setSofaIdMappings
public void setSofaIdMappings(org.apache.uima.jcas.cas.StringArray v)
setter for sofaIdMappings - sets Mappings from sofa xmi:id to the sofa name, i.e. the sofaID attribute in XMI format. A mapping has the form xmiId=sofaID.- Parameters:
v- value to set into the feature
-
getSofaIdMappings
public String getSofaIdMappings(int i)
indexed getter for sofaIdMappings - gets an indexed value - Mappings from sofa xmi:id to the sofa name, i.e. the sofaID attribute in XMI format. A mapping has the form xmiId=sofaID.- Parameters:
i- index in the array to get- Returns:
- value of the element at index i
-
setSofaIdMappings
public void setSofaIdMappings(int i, String v)indexed setter for sofaIdMappings - sets an indexed value - Mappings from sofa xmi:id to the sofa name, i.e. the sofaID attribute in XMI format. A mapping has the form xmiId=sofaID.- Parameters:
i- index in the array to setv- value to set into the array
-
-