Uses of Interface
org.apache.uima.resource.metadata.TypeDescription
-
Packages that use TypeDescription Package Description org.apache.uima Apache UIMAorg.apache.uima.impl Apache UIMA internalsorg.apache.uima.resource.metadata Interfaces for objects that represent metadata for a Resource.org.apache.uima.resource.metadata.impl org.apache.uima.tools.jcasgen Describes the format of the generated JCas cover classes for UIMA Version 3.org.apache.uima.util Utility classes and interfaces used by UIMA components. -
-
Uses of TypeDescription in org.apache.uima
Methods in org.apache.uima that return TypeDescription Modifier and Type Method Description TypeDescription
ResourceSpecifierFactory. createTypeDescription()
Creates aTypeDescription
. -
Uses of TypeDescription in org.apache.uima.impl
Methods in org.apache.uima.impl that return TypeDescription Modifier and Type Method Description TypeDescription
ResourceSpecifierFactory_impl. createTypeDescription()
-
Uses of TypeDescription in org.apache.uima.resource.metadata
Fields in org.apache.uima.resource.metadata declared as TypeDescription Modifier and Type Field Description static TypeDescription[]
TypeDescription. EMPTY_TYPE_DESCRIPTIONS
Methods in org.apache.uima.resource.metadata that return TypeDescription Modifier and Type Method Description TypeDescription
TypeSystemDescription. addType(java.lang.String aTypeName, java.lang.String aDescription, java.lang.String aSupertypeName)
Adds a Type to this TypeSystem fragment.TypeDescription
TypeSystemDescription. getType(java.lang.String aTypeName)
Retrieves a Type from this TypeSystem fragment.TypeDescription[]
TypeSystemDescription. getTypes()
Gets descriptions of all Types in this TypeSystem fragment.Methods in org.apache.uima.resource.metadata with parameters of type TypeDescription Modifier and Type Method Description void
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 TypeDescription Modifier and Type Class Description class
TypeDescription_impl
Reference implementation ofTypeDescription
.Fields in org.apache.uima.resource.metadata.impl declared as TypeDescription Modifier and Type Field Description private TypeDescription[]
TypeSystemDescription_impl. mTypes
Descriptions of all Types in this type system.Methods in org.apache.uima.resource.metadata.impl that return TypeDescription Modifier and Type Method Description TypeDescription
TypeSystemDescription_impl. addType(java.lang.String aTypeName, java.lang.String aDescription, java.lang.String aSupertypeName)
TypeDescription[]
TypeSystemDescriptionImportResolverAdapter. getCollectibles()
TypeDescription
TypeSystemDescription_impl. getType(java.lang.String aTypeName)
TypeDescription[]
TypeSystemDescription_impl. getTypes()
Methods in org.apache.uima.resource.metadata.impl that return types with arguments of type TypeDescription Modifier and Type Method Description java.lang.Class<TypeDescription>
TypeSystemDescriptionImportResolverAdapter. getCollectedClass()
Methods in org.apache.uima.resource.metadata.impl with parameters of type TypeDescription Modifier and Type Method Description void
TypeSystemDescription_impl. setTypes(TypeDescription[] aTypes)
Method parameters in org.apache.uima.resource.metadata.impl with type arguments of type TypeDescription Modifier and Type Method Description void
TypeSystemDescriptionImportResolverAdapter. setCollectibles(java.util.Collection<TypeDescription> aCollectedObjects)
-
Uses of TypeDescription in org.apache.uima.tools.jcasgen
Methods in org.apache.uima.tools.jcasgen with parameters of type TypeDescription Modifier and Type Method Description (package private) java.util.Collection<java.lang.String>
Jg. collectImports(TypeDescription td, boolean _Type)
Collect imports.private void
Jg. generateAllTypesFromTemplates(java.lang.String outputDirectory, TypeDescription[] tds, CASImpl aCas, java.lang.Class<JCasTypeTemplate> jcasTypeClass)
Generate all types from templates.private void
Jg. generateClass(IProgressMonitor progressMonitorGenerateClass, java.lang.String outputDirectory, TypeDescription td, java.lang.String sourceContents, java.lang.String className, IMerge mergerGenerateClass)
Generate class.private void
Jg. generateClassesFromTemplate(TypeDescription td, java.lang.String outputDirectory, Jg.IJCasTypeTemplate jcasTypeInstance)
Generate type classes from the specified templates.(package private) java.lang.String
Jg. getArrayFeatureValue(FeatureDescription fd, TypeDescription td)
Gets the array feature value.(package private) java.lang.String
Jg. getFeatureValue(FeatureDescription fd, TypeDescription td)
Gets the feature value.(package private) java.lang.String
Jg. getJavaName(TypeDescription td)
Gets the java name.(package private) java.lang.String
Jg. getJavaName_Type(TypeDescription td)
Gets the java name type.(package private) java.lang.String
Jg. getJavaPkg(TypeDescription td)
Gets the java pkg.(package private) java.lang.String
Jg. getPkg(TypeDescription td)
Gets the pkg.private boolean
Jg. isOutOfScope(TypeDescription td, java.lang.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
Jg. isSubTypeOfAnnotation(TypeDescription td)
Checks if is sub type of annotation.void
Jg. mainForCde(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, java.lang.String inputFile, java.lang.String outputDirectory, TypeDescription[] tds, CASImpl aCas)
Main for cde.void
Jg. mainForCde(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, java.lang.String inputFile, java.lang.String outputDirectory, TypeDescription[] tds, CASImpl aCas, java.lang.String pProjectPathDir, boolean limitToProjectScope, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> pMergedTypesAddingFeatures)
Main for cde.void
Jg. mainGenerateAllTypesFromTemplates(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, java.lang.String inputFile, java.lang.String outputDirectory, TypeDescription[] tds, CASImpl aCas, java.lang.Class<JCasTypeTemplate> jcasTypeClass, java.lang.Class<JCasTypeTemplate> jcas_TypeClass)
Main generate all types from templates.void
Jg. mainGenerateAllTypesFromTemplates(IMerge aMerger, IProgressMonitor aProgressMonitor, IError aError, java.lang.String inputFile, java.lang.String outputDirectory, TypeDescription[] tds, CASImpl aCas, java.lang.Class<JCasTypeTemplate> jcasTypeClass, java.lang.String pProjectPathDir, boolean limitToProjectScope, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> pMergedTypesAddingFeatures)
Main generate all types from templates.(package private) java.lang.String
Jg. setArrayFeatureValue(FeatureDescription fd, TypeDescription td)
Sets the array feature value.(package private) java.lang.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 TypeDescription Modifier and Type Method Description static TypeDescription
TypeSystemUtil. type2TypeDescription(Type aType, TypeSystem aTypeSystem)
Convert aType
to an equivalentTypeDescription
.Methods in org.apache.uima.util with parameters of type TypeDescription Modifier and Type Method Description private static void
CasCreationUtils. addTypeToMergedTypeSystem(java.util.Map<java.lang.String,java.util.Set<java.lang.String>> aOutputMergedTypes, java.util.Map<java.lang.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(java.util.Map<java.lang.String,java.util.Set<java.lang.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 Modifier and Type Method Description protected static boolean
CasCreationUtils. subsumes(java.lang.String aType1Name, java.lang.String aType2Name, java.util.Map<java.lang.String,? extends TypeDescription> aNameMap)
Determines whether one type subsumes another.
-