Class XmiMetaData_Type


  • public class XmiMetaData_Type
    extends org.apache.uima.jcas.tcas.Annotation_Type
    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
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static boolean featOkTst  
      static int typeIndexID  
      • Fields inherited from class org.apache.uima.jcas.cas.TOP_Type

        casImpl, casType, casTypeCode, instanceOf_Type, jcas, ll_cas, lowLevelArrayBoundChecks, lowLevelTypeChecks, useExistingInstance
    • 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
    • Field Detail

      • typeIndexID

        public static final int typeIndexID
      • featOkTst

        public static final boolean featOkTst
    • Constructor Detail

      • XmiMetaData_Type

        public XmiMetaData_Type​(org.apache.uima.jcas.JCas jcas,
                                org.apache.uima.cas.Type casType)
        initialize variables to correspond with Cas Type and Features
        Parameters:
        jcas - JCas
        casType - Type
    • 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 reference
        v - 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 reference
        v - value to set
      • getSofaIdMappings

        public String getSofaIdMappings​(int addr,
                                        int i)
        Parameters:
        addr - low level Feature Structure reference
        i - 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 reference
        i - index of item in the array
        v - value to set