Class AbstractBoundModule
java.lang.Object
gov.nist.secauto.metaschema.core.model.AbstractModule<IBoundModule,IBoundDefinitionModelComplex,IBoundDefinitionFlag,IBoundDefinitionModelField<?>,IBoundDefinitionModelAssembly>
gov.nist.secauto.metaschema.databind.model.AbstractBoundModule
- All Implemented Interfaces:
IModule,IModuleExtended<IBoundModule,,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly> IBoundModule
- Direct Known Subclasses:
MetaschemaModelModule
public abstract class AbstractBoundModule
extends AbstractModule<IBoundModule,IBoundDefinitionModelComplex,IBoundDefinitionFlag,IBoundDefinitionModelField<?>,IBoundDefinitionModelAssembly>
implements IBoundModule
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBoundModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new Module instance. -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<? extends IBoundObject>[]Get the assembly instance annotations associated with this bound choice group.protected Map<Integer,IBoundDefinitionModelAssembly> Get the mapping of assembly definition effective name to definition.Get the Module binding context.protected Class<? extends IBoundObject>[]Get the field instance annotations associated with this bound choice group.protected Map<Integer,IBoundDefinitionModelField<?>> Get the mapping of field definition effective name to definition.protected NsBinding[]Methods inherited from class gov.nist.secauto.metaschema.core.model.AbstractModule
getExportedAssemblyDefinitionByName, getExportedAssemblyDefinitions, getExportedFieldDefinitionByName, getExportedFieldDefinitions, getExportedFlagDefinitionByName, getExportedFlagDefinitions, getExportedRootAssemblyDefinitionByName, getImportedModuleByShortName, getImportedModules, getQNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundModule
getLocationMethods inherited from interface gov.nist.secauto.metaschema.core.model.IModule
getExportedRootAssemblyDefinitionByName, getJsonBaseUri, getName, getQName, getRemarks, getShortName, getVersion, getXmlNamespaceMethods inherited from interface gov.nist.secauto.metaschema.core.model.IModuleExtended
getAssemblyAndFieldDefinitions, getExportedAssemblyDefinitionByName, getExportedAssemblyDefinitions, getExportedFieldDefinitionByName, getExportedFieldDefinitions, getExportedFlagDefinitionByName, getExportedFlagDefinitions, getExportedRootAssemblyDefinitions, getImportedModuleByShortName, getImportedModules, getRootAssemblyDefinitions, getScopedAssemblyDefinitionByName, getScopedFieldDefinitionByName, getScopedFlagDefinitionByName
-
Constructor Details
-
AbstractBoundModule
protected AbstractBoundModule(@NonNull List<? extends IBoundModule> importedModules, @NonNull IBindingContext bindingContext) Construct a new Module instance.- Parameters:
importedModules- Module imports associated with the Metaschema modulebindingContext- the Module binding context
-
-
Method Details
-
getSource
-
getLocationHint
- Specified by:
getLocationHintin interfaceIModule
-
getModuleStaticContext
- Specified by:
getModuleStaticContextin interfaceIModule
-
getBindingContext
Description copied from interface:IBoundModuleGet the Module binding context.- Specified by:
getBindingContextin interfaceIBoundModule- Returns:
- the context
-
getNamespaceBindings
- Specified by:
getNamespaceBindingsin interfaceIModule
-
getNsBindings
-
getAssemblyClasses
Get the assembly instance annotations associated with this bound choice group.- Returns:
- the annotations
-
getFieldClasses
Get the field instance annotations associated with this bound choice group.- Returns:
- the annotations
-
getAssemblyDefinitionMap
Get the mapping of assembly definition effective name to definition.- Returns:
- the mapping
-
getAssemblyDefinitions
- Specified by:
getAssemblyDefinitionsin interfaceIBoundModule- Specified by:
getAssemblyDefinitionsin interfaceIModule- Specified by:
getAssemblyDefinitionsin interfaceIModuleExtended<IBoundModule,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getAssemblyDefinitionByName
- Specified by:
getAssemblyDefinitionByNamein interfaceIBoundModule- Specified by:
getAssemblyDefinitionByNamein interfaceIModule- Specified by:
getAssemblyDefinitionByNamein interfaceIModuleExtended<IBoundModule,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFieldDefinitionMap
Get the mapping of field definition effective name to definition.- Returns:
- the mapping
-
getFieldDefinitions
- Specified by:
getFieldDefinitionsin interfaceIBoundModule- Specified by:
getFieldDefinitionsin interfaceIModule- Specified by:
getFieldDefinitionsin interfaceIModuleExtended<IBoundModule,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFieldDefinitionByName
- Specified by:
getFieldDefinitionByNamein interfaceIBoundModule- Specified by:
getFieldDefinitionByNamein interfaceIModule- Specified by:
getFieldDefinitionByNamein interfaceIModuleExtended<IBoundModule,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFlagDefinitions
- Specified by:
getFlagDefinitionsin interfaceIModule- Specified by:
getFlagDefinitionsin interfaceIModuleExtended<IBoundModule,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFlagDefinitionByName
- Specified by:
getFlagDefinitionByNamein interfaceIModule- Specified by:
getFlagDefinitionByNamein interfaceIModuleExtended<IBoundModule,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-