Class 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.Annotation
    This 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 int type  
      static int typeIndexID  
      • Fields inherited from class org.apache.uima.jcas.cas.TOP

        addr, jcasType
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected XmiMetaData()
      Never called.
        XmiMetaData​(int addr, org.apache.uima.jcas.cas.TOP_Type type)
      Internal - constructor used by generator
        XmiMetaData​(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
      int getMaxXmiId()
      getter for maxXmiId - gets
      org.apache.uima.jcas.cas.StringArray getSofaIdMappings()
      getter for sofaIdMappings - gets Mappings from sofa xmi:id to the sofa name, i.e.
      String getSofaIdMappings​(int i)
      indexed getter for sofaIdMappings - gets an indexed value - Mappings from sofa xmi:id to the sofa name, i.e.
      int getTypeIndexID()  
      void setMaxXmiId​(int v)
      setter for maxXmiId - sets
      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.
      void setSofaIdMappings​(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.AnnotationBase

        getSofa, getView
      • 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 interface org.apache.uima.cas.AnnotationBaseFS

        getView
      • 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
    • Field Detail

      • typeIndexID

        public static final int typeIndexID
      • type

        public static final int type
    • 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 reference
        type - 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 belongs
        begin - offset to the begin spot in the SofA
        end - offset to the end spot in the SofA
    • Method Detail

      • getTypeIndexID

        public int getTypeIndexID()
        Overrides:
        getTypeIndexID in class org.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 set
        v - value to set into the array