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_LISTused 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 TypeFSIterator.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 TypeMethodDescriptionvoidAdd 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.voidFSIndexRepository.removeAllExcludingSubtypes(Type type) Remove all instances of just this type, excluding subtypes, from all indexes in the repository view.voidFSIndexRepository.removeAllIncludingSubtypes(Type type) Remove all instances of type, including all subtypes from all indexes in the repository view.default booleanbooleanDoes one type inherit from the other?voidCheck 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.booleanCompare two types.voidTypeSystemMgr.setFeatureFinal(Type type) Make type feature final in the sense that no new features can be added to this type.voidTypeSystemMgr.setInheritanceFinal(Type type) Block any further inheritance from this type.voidSet 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 TypeClassDescriptionclassThe implementation of types in the type system.classA version of TypeImpl for Annotations and subtypes of AnnotationsclassA version of TypeImpl for the AnnotationBase type and its subtypesclassclassclassclassString or String SubtypeclassMethods 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 voidCASImpl.checkTypingConditions(Type domType, Type ranType, Feature feat) Check the range is appropriate for this type/feature.static final intTypeSystemUtils.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 booleanCASImpl.isAbstractArrayType(Type type) booleanTypeSystemImpl.isAnnotationBaseOrSubtype(Type type) booleanTypeSystemImpl.isAnnotationOrSubtype(Type type) booleanCASImpl.isAnnotationType(Type t) final booleanCASImpl.isArrayType(Type type) final booleanCASImpl.isBooleanArrayType(Type type) final booleanCASImpl.isBooleanType(Type type) final booleanCASImpl.isByteArrayType(Type type) final booleanCASImpl.isByteType(Type type) final booleanCASImpl.isDoubleArrayType(Type type) final booleanCASImpl.isDoubleType(Type type) final booleanCASImpl.isFloatArrayType(Type type) final booleanCASImpl.isFloatType(Type type) final booleanCASImpl.isFSArrayType(Type type) booleanfinal booleanCASImpl.isIntArrayType(Type type) final booleanfinal booleanCASImpl.isLongArrayType(Type type) final booleanCASImpl.isLongType(Type type) static final TypeSystemUtils.PathValidTypeSystemUtils.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 booleanCASImpl.isPrimitiveArrayType(Type type) final booleanCASImpl.isShortArrayType(Type type) final booleanCASImpl.isShortType(Type type) final booleanCASImpl.isStringArrayType(Type type) final booleanCASImpl.isStringType(Type type) boolean<T extends FeatureStructure>
LowLevelIterator<T>FSIndexRepositoryImpl.ll_getAllIndexedFS(Type type) intLowLevelTypeSystem.ll_getCodeForType(Type type) Get the code of an existing type object.intTypeSystemImpl.ll_getCodeForType(Type type) TypeSystemImpl.refreshType(Type t) voidFSIndexRepositoryImpl.removeAllExcludingSubtypes(Type type) Remove all instances of a particular type (but not its subtypes) from all indexesvoidFSIndexRepositoryImpl.removeAllIncludingSubtypes(Type type) Remove all instances of a particular type (including its subtypes) from all indexesvoidTypeSystemImpl.setFeatureFinal(Type type) voidTypeSystemImpl.setInheritanceFinal(Type type) voidFSIndexRepositoryImpl.streamNonEmptyIndexes(Type type) Stream instances of all of the non-empty indexes themselvesbooleanDoes 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 TypeModifierConstructorDescriptionprotectedFsIndex_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 FeatureJCas.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 TypeTOP_Type.casTypeDeprecated.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 TypeDescriptionTypeSystemUtil.type2TypeDescription(Type aType, TypeSystem aTypeSystem) Convert aTypeto an equivalentTypeDescription.
getDirectSubtypes(Type)instead.