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).
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
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.FeatureStructureImplC.getType()
Returns the UIMA TypeImpl valueFsIndex_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.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 TypeMethodDescriptionTypeSystemImpl.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.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.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) <T extends AnnotationFS>
AnnotationIndex<T>CASImpl.getAnnotationIndex
(Type type) TypeSystemImpl.getArrayType
(Type componentType) TypeSystemImpl.getDirectlySubsumedTypes
(Type type) Get a vector of the types directly subsumed by a given type.TypeSystemImpl.getDirectSubtypes
(Type type) <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.default <U extends T>
LowLevelIndex<U>LowLevelIndex.getSubIndex
(Type type) 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) 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
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>Constructors in org.apache.uima.cas.impl with parameters of type TypeModifierConstructorDescriptionprotected
FsIndex_singletype
(CASImpl cas, Type type, int indexType, FSIndexComparator comparatorForIndexSpecs) Constructor for FsIndex_singletype. -
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.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.