Uses of Interface
org.apache.uima.cas.Type
Packages that use Type
Package
Description
Common Analysis System(CAS) Interfaces
Implementation and Low-Level API for the CAS Interfaces.
Interfaces for accessing the JCAS.
JCAS model for built-in CAS types
Provides the classes that support the Java Cas Model (JCM).
Describes the format of the generated JCas cover classes for UIMA Version 3.
Utility classes and interfaces used by UIMA components.
-
Uses of Type in org.apache.uima.analysis_engine.impl
Fields in org.apache.uima.analysis_engine.impl with type parameters of type TypeModifier and TypeFieldDescriptionResultSpecification_impl.EMPTY_TYPE_LIST
used for empty type subsumption lists in subtype iterator -
Uses of Type in org.apache.uima.cas
Methods in org.apache.uima.cas that return TypeModifier and TypeMethodDescriptionCAS.getAnnotationType()
Get the type object for the annotation type.TypeSystem.getArrayType
(Type componentType) Get or Create an array type with component typecomponentType
.CAS.getCasType
(Class<T> clazz) Type.getComponentType()
For array types, returns the component type of the array type.Feature.getDomain()
Get the domain type for this feature.Get the parent type for input type.Feature.getRange()
Get the range type for this feature.TypeSystem.getTopType()
Get the top type, i.e., the root of the type system.FeaturePath.getType
(FeatureStructure fs) Returns the type of the feature path.FeatureStructure.getType()
Get the type of this FS.FSIndex.getType()
Return the type of feature structures this index contains.default Type
FSIterator.getType()
Get a type object for a given type name.Methods in org.apache.uima.cas that return types with arguments of type TypeModifier and TypeMethodDescriptionTypeSystem.getDirectlySubsumedTypes
(Type type) Deprecated.TypeSystem.getDirectSubtypes
(Type type) Get a List of the types directly subsumed by a given type.TypeSystem.getProperlySubsumedTypes
(Type type) Return the list of all types subsumed by the input type.TypeSystem.getTypeIterator()
Get an iterator over all types, in no particular order.Methods in org.apache.uima.cas with parameters of type TypeModifier and TypeMethodDescriptionvoid
Add a new type to this type constraint.<T extends AnnotationFS>
AnnotationFSCAS.createAnnotation
(Type type, int begin, int end) Create a new annotation.<T extends FeatureStructure>
TCreate a new FeatureStructure.default <T extends FeatureStructure>
FSArray<T> CAS.emptyFSArray
(Type type) default <T extends TOP>
FSIterator<T> CAS.getAllIndexedFS
(Type type) Gets an iterator over all indexed (in this CAS view) FeatureStructures of the specified Type (and any of its subtypes).<T extends FeatureStructure>
FSIterator<T> FSIndexRepository.getAllIndexedFS
(Type aType) Gets an iterator over all indexed (in this View) FeatureStructures of the specified Type (and any of its subtypes).<T extends AnnotationFS>
AnnotationIndex<T> CAS.getAnnotationIndex
(Type type) Get the standard annotation index restricted to a specific annotation type.TypeSystem.getArrayType
(Type componentType) Get or Create an array type with component typecomponentType
.TypeSystem.getDirectlySubsumedTypes
(Type type) Deprecated.UsegetDirectSubtypes(Type)
instead.TypeSystem.getDirectSubtypes
(Type type) Get a List of the types directly subsumed by a given type.<T extends FeatureStructure>
FSIndex<T> Retrieve an index according to a label and a type.default <T extends TOP>
Collection<T> CAS.getIndexedFSs
(Type type) Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.<T extends TOP>
Collection<T> FSIndexRepository.getIndexedFSs
(Type type) Returns an unmodifiable collection of all the FSs of this type and its subtypes, that are indexed in this view, in an arbitrary order.Get the parent type for input type.TypeSystem.getProperlySubsumedTypes
(Type type) Return the list of all types subsumed by the input type.void
FSIndexRepository.removeAllExcludingSubtypes
(Type type) Remove all instances of just this type, excluding subtypes, from all indexes in the repository view.void
FSIndexRepository.removeAllIncludingSubtypes
(Type type) Remove all instances of type, including all subtypes from all indexes in the repository view.default boolean
boolean
Does one type inherit from the other?void
Check the feature path for the given type and initialize internal structures for faster access to the feature path value. -
Uses of Type in org.apache.uima.cas.admin
Methods in org.apache.uima.cas.admin that return TypeModifier and TypeMethodDescriptionTypeSystemMgr.addStringSubtype
(String typeName, String[] stringList) Inherit from String.Add a new type to the type system.FSIndexComparator.getType()
Get the type of this comparator.Methods in org.apache.uima.cas.admin with parameters of type TypeModifier and TypeMethodDescriptionTypeSystemMgr.addFeature
(String featureName, Type domainType, Type rangeType) Add an feature to the type system.TypeSystemMgr.addFeature
(String featureName, Type domainType, Type rangeType, boolean multipleReferencesAllowed) Add an feature to the type system.Add a new type to the type system.boolean
Compare two types.void
TypeSystemMgr.setFeatureFinal
(Type type) Make type feature final in the sense that no new features can be added to this type.void
TypeSystemMgr.setInheritanceFinal
(Type type) Block any further inheritance from this type.void
Set the type of this comparator. -
Uses of Type in org.apache.uima.cas.impl
Classes in org.apache.uima.cas.impl that implement TypeModifier and TypeClassDescriptionclass
The implementation of types in the type system.class
A version of TypeImpl for Annotations and subtypes of Annotationsclass
A version of TypeImpl for the AnnotationBase type and its subtypesclass
class
class
class
String or String Subtypeclass
Fields in org.apache.uima.cas.impl declared as TypeModifier and TypeFieldDescriptionprivate Type[]
FeatureValuePathImpl.emptyListTypes
private Type
FSIndexComparatorImpl.type
Fields in org.apache.uima.cas.impl with type parameters of type TypeModifier and TypeFieldDescriptionTypeSystemImpl.arrayComponentTypeToArrayType
Map from array component Type to the corresponding array typeTypeSystemImpl.arrayComponentTypeToArrayType
Map from array component Type to the corresponding array typeCASImpl.SharedViewData.emptyFSArrayMap
Methods in org.apache.uima.cas.impl that return TypeModifier and TypeMethodDescriptionTypeSystemImpl.addStringSubtype
(String typeName, String[] stringList) CASImpl.getAnnotationType()
TypeSystemImpl.getArrayType
(Type componentType) TypeImpl_list.getCompoentType()
FeatureImpl.getDomain()
Get the domain type for this feature.FeatureImpl.getRange()
Get the range type for this feature.FeaturePathImpl.getType
(FeatureStructure fs) FeatureStructureImplC.getType()
Returns the UIMA TypeImpl valueFsIndex_iicp.getType()
FsIndex_singletype.getType()
FsIndex_snapshot.getType()
FSIndexComparatorImpl.getType()
LowLevelIterator_empty.getType()
LowLevelTypeSystem.ll_getTypeForCode
(int typeCode) Get a type object for a given code.TypeSystemImpl.ll_getTypeForCode
(int typeCode) Methods in org.apache.uima.cas.impl that return types with arguments of type TypeModifier and TypeMethodDescriptionTypeSystemImpl.getDirectlySubsumedTypes
(Type type) Get a vector of the types directly subsumed by a given type.TypeSystemImpl.getDirectSubtypes
(Type type) TypeSystemImpl.getProperlySubsumedTypes
(Type type) Return the list of all types subsumed by the input type.CASMgrSerializer.getStringSubtypes
(TypeSystemImpl ts) TypeSystemImpl.getTypeIterator()
Get an iterator over all types, in no particular order.TypeSystemImpl.iterator()
Methods in org.apache.uima.cas.impl with parameters of type TypeModifier and TypeMethodDescriptionvoid
(package private) TypeImpl_array
TypeSystemImpl.addArrayType
(Type componentType, SlotKinds.SlotKind slotKind, boolean isHeapStoredArray, Class<?> javaClass) Add an array type.TypeSystemImpl.addFeature
(String featureName, Type domainType, Type rangeType) TypeSystemImpl.addFeature
(String shortFeatName, Type domainType, Type rangeType, boolean multipleReferencesAllowed) Add a new type to the type system.(package private) void
TypeImpl.checkExistingFeatureCompatible
(FeatureImpl existingFi, Type range) private boolean
final void
CASImpl.checkTypingConditions
(Type domType, Type ranType, Feature feat) Check the range is appropriate for this type/feature.static final int
TypeSystemUtils.classifyType
(Type type) Classify types into FS type, array type etc.private TypeImpl
TypeSystemImpl.computeArrayParentFromComponentType
(Type componentType) Given a component type, return the parent type of the corresponding array type, without needing the corresponding array type to exist (yet).CASImpl.createAnnotation
(Type type, int begin, int end) <T extends FeatureStructure>
TCreate the appropriate Feature Structure Java instance - from whatever the generator for this type specifies.CASImpl.emptyArray
(Type type) <T extends FeatureStructure>
FSArray<T> CASImpl.emptyFSArray
(Type type) <T extends FeatureStructure>
LowLevelIterator<T> FSIndexRepositoryImpl.getAllIndexedFS
(Type type) private final <T extends FeatureStructure>
voidFSIndexRepositoryImpl.getAllIndexedFS
(Type type, List<LowLevelIterator<T>> iteratorList) <T extends AnnotationFS>
AnnotationIndex<T> CASImpl.getAnnotationIndex
(Type type) TypeSystemImpl.getArrayType
(Type componentType) private static final String
FSIndexRepositoryImpl.getAutoIndexNameForType
(Type type) TypeSystemImpl.getDirectlySubsumedTypes
(Type type) Get a vector of the types directly subsumed by a given type.TypeSystemImpl.getDirectSubtypes
(Type type) private FeatureImpl
TypeSystemImpl.getFeature
(Type type, String featureShortName) <T extends FeatureStructure>
FSIndex<T> <T extends TOP>
Collection<T> FSIndexRepositoryImpl.getIndexedFSs
(Type type) TypeSystemImpl.getIntroFeatures
(Type type) TypeSystemImpl.getProperlySubsumedTypes
(Type type) Return the list of all types subsumed by the input type.(package private) static SlotKinds.SlotKind
TypeSystemImpl.getSlotKindFromType
(Type rangeType) Given a range type, return the corresponding slot kind string -> Slot_StrRef, long and double -> ...Ref boolean, byte, int, short, float, -> withoutRefdefault <U extends T>
LowLevelIndex<U> LowLevelIndex.getSubIndex
(Type type) private int
XmiCasDeserializer.XmiCasDeserializerHandler.handleFeatMultiValueFromName
(Type type, TOP fs, String featName, ArrayList<String> featVals) called from endElement after collecting non-byte array element instances into a string list for a particular array or list feature (excluding oots and deferred FSs)private void
XCASDeserializer.XCASDeserializerHandler.handleFeature
(Type type, TOP fs, String featName, String featValIn, boolean lenient) final boolean
CASImpl.isAbstractArrayType
(Type type) boolean
TypeSystemImpl.isAnnotationBaseOrSubtype
(Type type) boolean
TypeSystemImpl.isAnnotationOrSubtype
(Type type) boolean
CASImpl.isAnnotationType
(Type t) final boolean
CASImpl.isArrayType
(Type type) final boolean
CASImpl.isBooleanArrayType
(Type type) final boolean
CASImpl.isBooleanType
(Type type) final boolean
CASImpl.isByteArrayType
(Type type) final boolean
CASImpl.isByteType
(Type type) final boolean
CASImpl.isDoubleArrayType
(Type type) final boolean
CASImpl.isDoubleType
(Type type) final boolean
CASImpl.isFloatArrayType
(Type type) final boolean
CASImpl.isFloatType
(Type type) final boolean
CASImpl.isFSArrayType
(Type type) boolean
final boolean
CASImpl.isIntArrayType
(Type type) final boolean
final boolean
CASImpl.isLongArrayType
(Type type) final boolean
CASImpl.isLongType
(Type type) static final TypeSystemUtils.PathValid
TypeSystemUtils.isPathValid
(Type type, List<String> path) Given a starting Type and a list of features representing a feature path, checks if a feature path is valid for a given type.final boolean
CASImpl.isPrimitiveArrayType
(Type type) final boolean
CASImpl.isShortArrayType
(Type type) final boolean
CASImpl.isShortType
(Type type) final boolean
CASImpl.isStringArrayType
(Type type) final boolean
CASImpl.isStringType
(Type type) boolean
<T extends FeatureStructure>
LowLevelIterator<T> FSIndexRepositoryImpl.ll_getAllIndexedFS
(Type type) int
LowLevelTypeSystem.ll_getCodeForType
(Type type) Get the code of an existing type object.int
TypeSystemImpl.ll_getCodeForType
(Type type) (package private) void
TypeSystemImpl.newTypeCheckNoInheritanceFinalCheck
(String typeName, Type superType) (package private) void
TypeSystemImpl.newTypeChecks
(String typeName, Type superType) TypeSystemImpl.refreshType
(Type t) void
FSIndexRepositoryImpl.removeAllExcludingSubtypes
(Type type) Remove all instances of a particular type (but not its subtypes) from all indexesvoid
FSIndexRepositoryImpl.removeAllIncludingSubtypes
(Type type) Remove all instances of a particular type (including its subtypes) from all indexesvoid
TypeSystemImpl.setFeatureFinal
(Type type) void
TypeSystemImpl.setInheritanceFinal
(Type type) void
private static void
TypeSystemImpl.setTypeFinal
(Type type) FSIndexRepositoryImpl.streamNonEmptyIndexes
(Type type) Stream instances of all of the non-empty indexes themselvesboolean
Does one type inherit from the other? There are two versions.<N extends T>
SelectFSs_impl<N> void
Constructors in org.apache.uima.cas.impl with parameters of type TypeModifierConstructorDescription(package private)
FsIndex_bag
(CASImpl cas, Type type, int initialSize, int indexType, FSIndexComparator comparatorForIndexSpecs) (package private)
FsIndex_set_sorted
(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs) protected
FsIndex_singletype
(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs) Constructor for FsIndex_singletype.private
FSIndexComparatorImpl
(Type type, List<Object> keySpecs, IntVector directions) -
Uses of Type in org.apache.uima.jcas
Methods in org.apache.uima.jcas that return TypeModifier and TypeMethodDescriptionJCas.getCasType
(int i) Given Foo.type, return the corresponding CAS Type object.JCas.getCasType
(Class<? extends FeatureStructure> clazz) Return the UIMA Type object corresponding to this JCas's JCas cover class (Note: different JCas's, with different type systems, may share the same cover class impl)JCas.getRequiredType
(String s) Methods in org.apache.uima.jcas with parameters of type TypeModifier and TypeMethodDescriptiondefault <T extends TOP>
FSIterator<T> JCas.getAllIndexedFS
(Type type) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends TOP>
FSIterator<T> JFSIndexRepository.getAllIndexedFS
(Type aType) Gets an iterator over all indexed FeatureStructures of the specified Type (and any of its subtypes).<T extends Annotation>
AnnotationIndex<T> JCas.getAnnotationIndex
(Type type) Get the standard annotation index restricted to a specific annotation type.default <T extends TOP>
Collection<T> JCas.getIndexedFSs
(Type type) Returns an unmodifiable collection of all the FSs that are indexed in this view, in an arbitrary order.JCas.getRequiredFeature
(Type t, String s) default Feature
JCas.getRequiredFeatureDE
(Type t, String s, String rangeName, boolean featOkTst) Deprecated. -
Uses of Type in org.apache.uima.jcas.cas
Fields in org.apache.uima.jcas.cas declared as TypeModifier and TypeFieldDescriptionfinal Type
TOP_Type.casType
Deprecated.the Cas Type associated with this Java Cas Model classMethods in org.apache.uima.jcas.cas with parameters of type TypeModifier and TypeMethodDescriptionTreat an FSArray as a source for SelectFSs.Treat an FSArray as a source for SelectFSs.Constructors in org.apache.uima.jcas.cas with parameters of type Type -
Uses of Type in org.apache.uima.jcas.impl
Methods in org.apache.uima.jcas.impl that return TypeModifier and TypeMethodDescriptionJCasImpl.getCasType
(int i) JCasImpl.getCasType
(Class<? extends FeatureStructure> clazz) Return the UIMA Type object corresponding to this JCas's JCas cover class (Note: different JCas's, with different type systems, may share the same cover class impl)JCasImpl.getRequiredType
(String s) Methods in org.apache.uima.jcas.impl with parameters of type TypeModifier and TypeMethodDescription<T extends TOP>
FSIterator<T> JFSIndexRepositoryImpl.getAllIndexedFS
(Type aType) <T extends Annotation>
AnnotationIndex<T> JCasImpl.getAnnotationIndex
(Type type) JCasImpl.getRequiredFeature
(Type t, String s) -
Uses of Type in org.apache.uima.jcas.tcas
Constructors in org.apache.uima.jcas.tcas with parameters of type Type -
Uses of Type in org.apache.uima.tools.components
Fields in org.apache.uima.tools.components declared as Type -
Uses of Type in org.apache.uima.tools.cvd
Fields in org.apache.uima.tools.cvd declared as TypeModifier and TypeFieldDescriptionprivate final Type
IndexTreeNode.type
The type.private final Type
TypeTreeNode.type
The type.Methods in org.apache.uima.tools.cvd that return TypeModifier and TypeMethodDescriptionIndexTreeNode.getType()
Returns the type.TypeTreeNode.getType()
Returns the type.Methods in org.apache.uima.tools.cvd with parameters of type TypeModifier and TypeMethodDescriptionprivate static void
AnnotationDisplayCustomizationFrame.addChildren
(DefaultMutableTreeNode node, Type type, TypeSystem ts) Adds the children.private DefaultMutableTreeNode
MainFrame.createTypeTree
(Type type, TypeSystem ts, String label, FSIndexRepository ir) Creates the type tree.(package private) int
FSTreeModel.getNodeType
(Type type) Gets the node type.Constructors in org.apache.uima.tools.cvd with parameters of type TypeModifierConstructorDescriptionIndexTreeNode
(String name, Type type, int size) Instantiates a new index tree node.TypeTreeNode
(Type type, String label, int size) Instantiates a new type tree node. -
Uses of Type in org.apache.uima.tools.cvd.tsview
Fields in org.apache.uima.tools.cvd.tsview declared as TypeModifier and TypeFieldDescriptionprivate Type
MainFrame.selectedType
The selected type.private Type
FeatureTableModel.type
The type.Methods in org.apache.uima.tools.cvd.tsview with parameters of type TypeModifier and TypeMethodDescriptionprivate DefaultMutableTreeNode
MainFrame.createTypeTree
(Type type) Creates the type tree.void
Sets the type.Constructors in org.apache.uima.tools.cvd.tsview with parameters of type Type -
Uses of Type in org.apache.uima.tools.jcasgen
Fields in org.apache.uima.tools.jcasgen declared as Type -
Uses of Type in org.apache.uima.tools.viewer
Fields in org.apache.uima.tools.viewer declared as TypeModifier and TypeFieldDescriptionprivate Type
CasAnnotationViewer.fsArrayType
The fs array type.private Type
CasAnnotationViewer.stringType
The string type.private Type
CasAnnotationViewer.TypeTreeNodeObject.type
The type.Fields in org.apache.uima.tools.viewer with type parameters of type TypeModifier and TypeFieldDescriptionprivate Map
<Type, JRadioButton> CasAnnotationViewer.typeRadioButtonMap
The type radio button map.CasAnnotationViewer.typeToCheckBoxMap
The type to check box map.Methods in org.apache.uima.tools.viewer that return TypeModifier and TypeMethodDescriptionCasAnnotationViewer.TypeTreeNodeObject.getType()
Gets the type.Constructors in org.apache.uima.tools.viewer with parameters of type TypeModifierConstructorDescriptionTypeTreeNodeObject
(Type inType) Instantiates a new type tree node object. -
Uses of Type in org.apache.uima.util
Methods in org.apache.uima.util with parameters of type TypeModifier and TypeMethodDescriptionstatic String[]
TypeSystemUtil.getAllowedValuesForType
(Type aType, TypeSystem aTypeSystem) Gets the allowed values for a string subtype.static TypeDescription
TypeSystemUtil.type2TypeDescription
(Type aType, TypeSystem aTypeSystem) Convert aType
to an equivalentTypeDescription
.
getDirectSubtypes(Type)
instead.