# Uses of Class
org.apache.uima.cas.impl.TypeImpl

Packages that use TypeImpl
Package
Description
org.apache.uima.cas.impl
Implementation and Low-Level API for the CAS Interfaces.
org.apache.uima.examples
org.apache.uima.jcas.cas
JCAS model for built-in CAS types
org.apache.uima.jcas.tcas

- ## Uses of TypeImpl in org.apache.uima.cas.impl

  Subclasses of TypeImpl in org.apache.uima.cas.impl
  Modifier and Type
  Class
  Description
  `class`
  `TypeImpl_annot`
  A version of TypeImpl for Annotations and subtypes of Annotations
  `class`
  `TypeImpl_annotBase`
  A version of TypeImpl for the AnnotationBase type and its subtypes
  `class`
  `TypeImpl_array`
  `class`
  `TypeImpl_list`
  `class`
  `TypeImpl_primitive`
  `class`
  `TypeImpl_string`
  String or String Subtype
  `class`
  `TypeImpl_stringSubtype`
  Fields in org.apache.uima.cas.impl declared as TypeImpl
  Modifier and Type
  Field
  Description
  `final TypeImpl`
  TypeSystemImpl.`annotBaseType`
  `final TypeImpl`
  TypeSystemImpl.`annotType`
  `final TypeImpl`
  TypeSystemImpl.`booleanType`
  `final TypeImpl`
  TypeSystemImpl.`byteType`
  `final TypeImpl`
  TypeSystemImpl.`docType`
  `final TypeImpl`
  TypeSystemImpl.`doubleType`
  `final TypeImpl`
  TypeSystemImpl.`floatType`
  `final TypeImpl`
  TypeSystemImpl.`intType`
  `final TypeImpl`
  TypeSystemImpl.`longType`
  `final TypeImpl`
  TypeSystemImpl.`shortType`
  `static final TypeImpl`
  TypeImpl.`singleton`
  A special instance used in CasCopier to identify a missing type
  `final TypeImpl`
  TypeSystemImpl.`sofaType`
  `final TypeImpl`
  TypeSystemImpl.`stringType`
  `protected final TypeImpl`
  FsIterator_singletype.`ti`
  `protected final TypeImpl`
  FsIndex_singletype.`type`
  Fields in org.apache.uima.cas.impl with type parameters of type TypeImpl
  Modifier and Type
  Field
  Description
  `static final Comparator<TypeImpl>`
  CasSerializerSupport.`COMPARATOR_SHORT_TYPENAME`
  Comparator that just uses short name Public for access by JsonCasSerializer where it's needed for a binary search https://issues.apache.org/jira/browse/UIMA-5171
  Methods in org.apache.uima.cas.impl that return TypeImpl
  Modifier and Type
  Method
  Description
  `final TypeImpl`
  FeatureStructureImplC.`_getTypeImpl()`
  `TypeImpl`
  TypeSystemImpl.`addType(String typeName, Type superType)`
  Add a new type to the type system.
  `TypeImpl`
  TypeImpl_array.`getComponentType()`
  `TypeImpl`
  TypeImpl.`getComponentType()`
  `TypeImpl`
  TypeSystemImpl.`getJCasRegisteredType(int i)`
  Convert between fixed JCas class int (set when it is loaded) and this type system's TypeImpl.
  `TypeImpl`
  FeatureImpl.`getRangeImpl()`
  `TypeImpl[]`
  CasSerializerSupport.CasDocSerializer.`getSortedUsedTypes()`
  `TypeImpl`
  TypeImpl.`getSuperType()`
  Get the super type.
  `TypeImpl`
  TypeSystemImpl.`getTopType()`
  Get the top type, i.e., the root of the type system.
  `TypeImpl`
  TypeSystemImpl.`getTopTypeImpl()`
  `TypeImpl`
  TypeSystemImpl.`getType(String typeName)`
  Get a type object for a given name.
  `TypeImpl`
  TypeSystemImpl.`getTypeForCode(int typeCode)`
  `TypeImpl`
  TypeSystemImpl.`getTypeForCode_checked(int typeCode)`
  `TypeImpl`
  FsIndex_singletype.`getTypeImpl()`
  `TypeImpl`
  CasTypeSystemMapper.`mapTypeCode2Other(TypeImpl type, boolean src2tgt)`
  `TypeImpl`
  CasTypeSystemMapper.`mapTypeCodeTgt2Src(int tgtTypeCode)`
  `TypeImpl`
  CasTypeSystemMapper.`mapTypeSrc2Tgt(TypeImpl srcType)`
  `TypeImpl`
  CasTypeSystemMapper.`mapTypeTgt2Src(TypeImpl tgtType)`
  `TypeImpl`
  TypeSystemImpl.`refreshType(Type t)`
  Methods in org.apache.uima.cas.impl that return types with arguments of type TypeImpl
  Modifier and Type
  Method
  Description
  `List<TypeImpl>`
  TypeSystemImpl.`getAllTypes()`
  Methods in org.apache.uima.cas.impl with parameters of type TypeImpl
  Modifier and Type
  Method
  Description
  `protected final void`
  FeatureStructureImplC.`_setTypeImpl(TypeImpl ti)`
  `static final int`
  CasSerializerSupport.`classifyType(TypeImpl ti)`
  Classifies a type.
  `int`
  TypeImpl.`compareTo(TypeImpl t)`
  compareTo must return 0 for "equal" types equal means same name, same flags, same supertype chain, same subtypes, and same features Makes use of hashcodelong to probablistically shortcut computation for equal case for not equal types, do by parts
  `TOP`
  CASImpl.`createArray(TypeImpl array_type, int arrayLength)`
  `TOP`
  FsGenerator3.`createFS(TypeImpl typeImpl, CASImpl casImpl)`
  `TOP`
  FsGeneratorArray.`createFS(TypeImpl typeImpl, CASImpl casImpl, int length)`
  `static FSClassRegistry.JCasClassInfo`
  FSClassRegistry.`createJCasClassInfo(TypeImpl ti, ClassLoader cl, MethodHandles.Lookup lookup)`
  `boolean`
  TypeSystemImpl.`directlySubsumes(TypeImpl t1, TypeImpl t2)`
  `int`
  TypeSystemImpl.`getFeatureOffset(TypeImpl ti, String featureShortName)`
  `static int`
  BinaryCasSerDes.`getFsSpaceReq(TOP fs, TypeImpl type)`
  `static FSClassRegistry.JCasClassInfo`
  FSClassRegistry.`getOrCreateJCasClassInfo(TypeImpl ti, ClassLoader cl, Map<String,FSClassRegistry.JCasClassInfo> type2jcci, MethodHandles.Lookup lookup)`
  For a particular type name, get the JCasClassInfo - by fetching the cached value - by loading the class - return null if no JCas class for this name only called for non-Pear callers
  `FeatureImpl`
  CasTypeSystemMapper.`getSrcFeature(TypeImpl tgtType, FeatureImpl tgtFeat)`
  `FeatureImpl[]`
  CasTypeSystemMapper.`getSrcFeatures(TypeImpl tgtType)`
  Given a tgt type, return an array of source features in the order they would appear in the target.
  `FeatureImpl`
  CasTypeSystemMapper.`getTgtFeature(TypeImpl srcType, FeatureImpl srcFeat)`
  Get target feature, given src type and feature
  `FeatureImpl`
  CasTypeSystemMapper.`getToFeature(FeatureImpl[][] mapByTypeCode, TypeImpl fromType, FeatureImpl fromFeat)`
  `static final int`
  TypeSystemImpl.`getTypeClass(TypeImpl ti)`
  `boolean`
  TypeSystemImpl.`isRefType(TypeImpl type)`
  `TypeImpl`
  CasTypeSystemMapper.`mapTypeCode2Other(TypeImpl type, boolean src2tgt)`
  `TypeImpl`
  CasTypeSystemMapper.`mapTypeSrc2Tgt(TypeImpl srcType)`
  `TypeImpl`
  CasTypeSystemMapper.`mapTypeTgt2Src(TypeImpl tgtType)`
  `boolean`
  TypeImpl_array.`subsumes(TypeImpl subType)`
  `boolean`
  TypeImpl_primitive.`subsumes(TypeImpl ti)`
  `boolean`
  TypeImpl_string.`subsumes(TypeImpl ti)`
  `boolean`
  TypeImpl.`subsumes(TypeImpl ti)`
  `boolean`
  TypeImpl.`subsumesStrictly(TypeImpl ti)`
  Constructors in org.apache.uima.cas.impl with parameters of type TypeImpl
  Modifier
  Constructor
  Description
  `protected`
  `FeatureStructureImplC(TypeImpl type, CASImpl casView)`
  For non-JCas use, Internal Use Only, called by cas.createFS via generators
  ``
  `FsIterator_singletype(TypeImpl ti)`
  ``
  `TypeImpl_annot(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaClass)`
  ``
  `TypeImpl_annotBase(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaClass)`
  ``
  `TypeImpl_array(String name, TypeImpl componentType, TypeSystemImpl tsi, TypeImpl supertype, SlotKinds.SlotKind componentSlotKind, boolean isHeapStoredArray, Class<?> javaClass)`
  ``
  `TypeImpl_list(String name, TypeImpl componentType, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaClass)`
  ``
  `TypeImpl_primitive(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaType)`
  ``
  `TypeImpl_string(String name, TypeSystemImpl tsi, TypeImpl supertype)`
  ``
  `TypeImpl_string(String name, TypeSystemImpl tsi, TypeImpl supertype, Class<?> javaType)`
  ``
  `TypeImpl_stringSubtype(String name, TypeSystemImpl tsi, TypeImpl supertype, Set<String> allowedValues)`

- ## Uses of TypeImpl in org.apache.uima.examples

  Constructors in org.apache.uima.examples with parameters of type TypeImpl
  Modifier
  Constructor
  Description
  ``
  `SourceDocumentInformation(TypeImpl type, CASImpl casImpl)`
  Internal - constructor used by generator

- ## Uses of TypeImpl in org.apache.uima.jcas.cas

  Constructors in org.apache.uima.jcas.cas with parameters of type TypeImpl
  Modifier
  Constructor
  Description
  ``
  `AnnotationBase(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `BooleanArray(TypeImpl t, CASImpl c, int l)`
  Called by generator
  ``
  `ByteArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new ByteArray of given size
  ``
  `DoubleArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new DoubleArray of given size
  ``
  `EmptyFloatList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `EmptyFSList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `EmptyIntegerList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `EmptyStringList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `FloatArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new FloatArray of given size
  ``
  `FloatList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `FSArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new FSArray of given size
  ``
  `FSArrayList(TypeImpl type, CASImpl casImpl)`
  Internal - constructor used by generator
  ``
  `FSHashSet(HashSet<T> set, TypeImpl type, CASImpl casImpl)`
  ``
  `FSHashSet(TypeImpl type, CASImpl casImpl)`
  Internal - constructor used by generator
  ``
  `FSLinkedHashSet(TypeImpl type, CASImpl casImpl)`
  Internal - constructor used by generator
  ``
  `FSList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `Int2FS(TypeImpl type, CASImpl casImpl)`
  Internal - constructor used by generator
  ``
  `IntegerArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new IntegerArray of given size
  ``
  `IntegerArrayList(TypeImpl type, CASImpl casImpl)`
  Internal - constructor used by generator
  ``
  `IntegerList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `LongArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new LongArray of given size
  ``
  `NonEmptyFloatList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `NonEmptyFSList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `NonEmptyIntegerList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `NonEmptyStringList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `ShortArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new ShortArray of given size
  ``
  `Sofa(TypeImpl t, CASImpl c)`
  used by generator, not used Make a new Sofa
  ``
  `Sofa(TypeImpl t, CASImpl c, int sofaNum, String viewName, String mimeType)`
  ``
  `StringArray(TypeImpl t, CASImpl c, int length)`
  used by generator Make a new StringArray of given size
  ``
  `StringList(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `TOP(TypeImpl t, CASImpl c)`
  used by generator Make a new TOP

- ## Uses of TypeImpl in org.apache.uima.jcas.tcas

  Constructors in org.apache.uima.jcas.tcas with parameters of type TypeImpl
  Modifier
  Constructor
  Description
  ``
  `Annotation(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase
  ``
  `DocumentAnnotation(TypeImpl t, CASImpl c)`
  used by generator Make a new AnnotationBase