Package org.apache.uima.cas.impl
Class FSClassRegistry.JCasClassInfo
java.lang.Object
org.apache.uima.cas.impl.FSClassRegistry.JCasClassInfo
- Enclosing class:
FSClassRegistry
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 Summary
FieldsModifier and TypeFieldDescription(package private) final FSClassRegistry.JCasClassFeatureInfo[]
(package private) final FsGenerator3
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.(package private) final int
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 -
Constructor Summary
ConstructorsConstructorDescriptionJCasClassInfo
(Class<? extends TOP> jcasClass, FsGenerator3 generator, int jcasType) -
Method Summary
Modifier and TypeMethodDescription(package private) TypeImpl
(package private) boolean
isCopydown
(String jcasClassName) (package private) boolean
isCopydown
(TypeImpl ti) (package private) boolean
-
Field Details
-
generator
-
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 jcasTypeNOT 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
-
isCopydown
-
isCopydown
-
isPearOverride
-
getUimaType
-