Class FSClassRegistry.JCasClassInfo

java.lang.Object
org.apache.uima.cas.impl.FSClassRegistry.JCasClassInfo
Enclosing class:
FSClassRegistry

public static class FSClassRegistry.JCasClassInfo extends Object
One instance per JCas class defined for it, per class loader - per class loader, because different JCas class definitions for the same name are possible, per class loader Kept in maps, per class loader. Created when potentially loading JCas classes. Entries kept in potentially multiple global static hashmaps, with key = the string form of the typename - string form of key allows sharing the same named JCas definition among different type system type-impls. - one hashmap per classloader Entries reused potentially by multiple type systems. Info used for - identifying the target of a "new" operator - could be generator for superclass. - remembering the results of getting all the features this JCas class defines One entry per defined JCas class per classloader; no instance if no JCas class is defined.
  • Field Details

    • generator

      final FsGenerator3 generator
    • jcasClass

      final Class<? extends TOP> jcasClass
      The corresponding loaded JCas Class for this UIMA type, may be a JCas class associated with a UIMA supertype if no JCas class is found for this type.
    • jcasType

      final int jcasType
      NOT the TypeCode, but instead, the unique int assigned to the JCas class when it gets loaded Might be -1 if the JCasClassInfo instance is for a non-JCas instantiable type
    • features

  • Constructor Details

    • JCasClassInfo

      JCasClassInfo(Class<? extends TOP> jcasClass, FsGenerator3 generator, int jcasType)
  • Method Details