Uses of Interface
org.apache.uima.resource.metadata.TypeDescription
Packages that use TypeDescription
Package
Description
Apache UIMA
Apache UIMA internals
Interfaces for objects that represent metadata for a
Resource.
Describes the format of the generated JCas cover classes for UIMA Version 3.
Utility classes and interfaces used by UIMA components.
-
Uses of TypeDescription in org.apache.uima
Methods in org.apache.uima that return TypeDescriptionModifier and TypeMethodDescriptionResourceSpecifierFactory.createTypeDescription()
Creates aTypeDescription
. -
Uses of TypeDescription in org.apache.uima.impl
Methods in org.apache.uima.impl that return TypeDescription -
Uses of TypeDescription in org.apache.uima.resource.metadata
Fields in org.apache.uima.resource.metadata declared as TypeDescriptionModifier and TypeFieldDescriptionstatic final TypeDescription[]
TypeDescription.EMPTY_TYPE_DESCRIPTIONS
Methods in org.apache.uima.resource.metadata that return TypeDescriptionModifier and TypeMethodDescriptionAdds a Type to this TypeSystem fragment.Retrieves a Type from this TypeSystem fragment.TypeSystemDescription.getTypes()
Gets descriptions of all Types in this TypeSystem fragment.Methods in org.apache.uima.resource.metadata with parameters of type TypeDescriptionModifier and TypeMethodDescriptionvoid
TypeSystemDescription.setTypes
(TypeDescription[] aTypes) Sets the descriptions of all Types in this TypeSystem fragment. -
Uses of TypeDescription in org.apache.uima.resource.metadata.impl
Classes in org.apache.uima.resource.metadata.impl that implement TypeDescriptionFields in org.apache.uima.resource.metadata.impl declared as TypeDescriptionModifier and TypeFieldDescriptionprivate TypeDescription[]
TypeSystemDescription_impl.mTypes
Descriptions of all Types in this type system.Methods in org.apache.uima.resource.metadata.impl that return TypeDescriptionModifier and TypeMethodDescriptionTypeSystemDescriptionImportResolverAdapter.getCollectibles()
TypeSystemDescription_impl.getTypes()
Methods in org.apache.uima.resource.metadata.impl that return types with arguments of type TypeDescriptionMethods in org.apache.uima.resource.metadata.impl with parameters of type TypeDescriptionModifier and TypeMethodDescriptionvoid
TypeSystemDescription_impl.setTypes
(TypeDescription[] aTypes) Method parameters in org.apache.uima.resource.metadata.impl with type arguments of type TypeDescriptionModifier and TypeMethodDescriptionvoid
TypeSystemDescriptionImportResolverAdapter.setCollectibles
(Collection<TypeDescription> aCollectedObjects) -
Uses of TypeDescription in org.apache.uima.tools.jcasgen
Methods in org.apache.uima.tools.jcasgen with parameters of type TypeDescriptionModifier and TypeMethodDescription(package private) Collection
<String> Jg.collectImports
(TypeDescription td, boolean _Type) Collect imports.private void
Jg.generateAllTypesFromTemplates
(String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class<JCasTypeTemplate> jcasTypeClass) Generate all types from templates.private void
Jg.generateClass
(IProgressMonitor progressMonitorGenerateClass, String outputDirectory, TypeDescription td, String sourceContents, String className, IMerge mergerGenerateClass) Generate class.private void
Jg.generateClassesFromTemplate
(TypeDescription td, String outputDirectory, Jg.IJCasTypeTemplate jcasTypeInstance) Generate type classes from the specified templates.(package private) String
Gets the array feature value.(package private) String
Jg.getFeatureValue
(FeatureDescription fd, TypeDescription td) Gets the feature value.(package private) String
Jg.getJavaName
(TypeDescription td) Gets the java name.(package private) String
Jg.getJavaName_Type
(TypeDescription td) Gets the java name type.(package private) String
Jg.getJavaPkg
(TypeDescription td) Gets the java pkg.(package private) String
Jg.getPkg
(TypeDescription td) Gets the pkg.private boolean
Jg.isOutOfScope
(TypeDescription td, String projectDirPath) return true if td is not defined in this project, or it is defined, but is also in merged and any of the other merged urls are not defined in this project.(package private) boolean
Checks if is sub type of annotation.void
Jg.mainForCde
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas) Main for cde.void
Jg.mainForCde
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, String pProjectPathDir, boolean limitToProjectScope, Map<String, Set<String>> pMergedTypesAddingFeatures) Main for cde.void
Jg.mainGenerateAllTypesFromTemplates
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class<JCasTypeTemplate> jcasTypeClass, Class<JCasTypeTemplate> jcas_TypeClass) Main generate all types from templates.void
Jg.mainGenerateAllTypesFromTemplates
(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, String inputFile, String outputDirectory, TypeDescription[] tds, CASImpl aCas, Class<JCasTypeTemplate> jcasTypeClass, String pProjectPathDir, boolean limitToProjectScope, Map<String, Set<String>> pMergedTypesAddingFeatures) Main generate all types from templates.(package private) String
Sets the array feature value.(package private) String
Jg.setFeatureValue
(FeatureDescription fd, TypeDescription td) Sets the feature value. -
Uses of TypeDescription in org.apache.uima.util
Methods in org.apache.uima.util that return TypeDescriptionModifier and TypeMethodDescriptionstatic TypeDescription
TypeSystemUtil.type2TypeDescription
(Type aType, TypeSystem aTypeSystem) Convert aType
to an equivalentTypeDescription
.Methods in org.apache.uima.util with parameters of type TypeDescriptionModifier and TypeMethodDescriptionprivate static void
CasCreationUtils.addTypeToMergedTypeSystem
(Map<String, Set<String>> aOutputMergedTypes, Map<String, TypeDescription> typeNameMap, TypeDescription type) private static AllowedValue[]
CasCreationUtils.getAllowedValues
(TypeDescription type) protected static void
CasCreationUtils.mergeFeatures
(TypeDescription aType, FeatureDescription[] aFeatures) Merges features into a TypeDescription.private static void
CasCreationUtils.reportMerge
(Map<String, Set<String>> aOutputMergedTypes, TypeDescription currentType, TypeDescription existingType) Utility method for populating the aOutputMergedTypes argument in the mergeTypeSystems method.Method parameters in org.apache.uima.util with type arguments of type TypeDescription