Class TypeSystemImpl.TypeInfo

java.lang.Object
org.apache.uima.cas.impl.TypeSystemImpl.TypeInfo
Enclosing class:
TypeSystemImpl

class TypeSystemImpl.TypeInfo extends Object
Each instance holds info needed in binary serialization of data for a particular type
  • Field Details

    • type

      public final TypeImpl type
    • slotKinds

      public final SlotKinds.SlotKind[] slotKinds
      Array of slot kinds; index 0 is for 1st slot after feature code, length = number of slots excluding type code
    • strRefOffsets

      public final int[] strRefOffsets
    • isArray

      public final boolean isArray
    • isHeapStoredArray

      public final boolean isHeapStoredArray
  • Constructor Details

    • TypeInfo

      public TypeInfo(TypeImpl type)
  • Method Details

    • getSlotKind

      SlotKinds.SlotKind getSlotKind(int offset)
      Parameters:
      offset - 0 = typeCode, 1 = first feature, ...
      Returns:
    • toString

      public String toString()
      Overrides:
      toString in class Object