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
ModifierConstructorDescriptionprotected
AbstractBoundModule
(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<QName,
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<QName,
IBoundDefinitionModelField<?>> Get the mapping of field definition effective name to definition.getFlagDefinitionByName
(QName name) protected NsBinding[]
Methods inherited from class gov.nist.secauto.metaschema.core.model.AbstractModule
getExportedAssemblyDefinitionByName, getExportedAssemblyDefinitions, getExportedFieldDefinitionByName, getExportedFieldDefinitions, getExportedFlagDefinitionByName, getExportedFlagDefinitions, getExportedRootAssemblyDefinitionByName, getImportedModuleByShortName, getImportedModules
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gov.nist.secauto.metaschema.databind.model.IBoundModule
getLocation
Methods inherited from interface gov.nist.secauto.metaschema.core.model.IModule
getExportedRootAssemblyDefinitionByName, getJsonBaseUri, getName, getQName, getRemarks, getShortName, getVersion, getXmlNamespace, toFlagQName, toFlagQName, toModelQName, toModelQName
Methods 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
-
getModuleStaticContext
- Specified by:
getModuleStaticContext
in interfaceIModule
-
getBindingContext
Description copied from interface:IBoundModule
Get the Module binding context.- Specified by:
getBindingContext
in interfaceIBoundModule
- Returns:
- the context
-
getNamespaceBindings
- Specified by:
getNamespaceBindings
in 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:
getAssemblyDefinitions
in interfaceIBoundModule
- Specified by:
getAssemblyDefinitions
in interfaceIModule
- Specified by:
getAssemblyDefinitions
in interfaceIModuleExtended<IBoundModule,
IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getAssemblyDefinitionByName
- Specified by:
getAssemblyDefinitionByName
in interfaceIBoundModule
- Specified by:
getAssemblyDefinitionByName
in interfaceIModule
- Specified by:
getAssemblyDefinitionByName
in interfaceIModuleExtended<IBoundModule,
IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFieldDefinitionMap
Get the mapping of field definition effective name to definition.- Returns:
- the mapping
-
getFieldDefinitions
- Specified by:
getFieldDefinitions
in interfaceIBoundModule
- Specified by:
getFieldDefinitions
in interfaceIModule
- Specified by:
getFieldDefinitions
in interfaceIModuleExtended<IBoundModule,
IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFieldDefinitionByName
- Specified by:
getFieldDefinitionByName
in interfaceIBoundModule
- Specified by:
getFieldDefinitionByName
in interfaceIModule
- Specified by:
getFieldDefinitionByName
in interfaceIModuleExtended<IBoundModule,
IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFlagDefinitions
- Specified by:
getFlagDefinitions
in interfaceIModule
- Specified by:
getFlagDefinitions
in interfaceIModuleExtended<IBoundModule,
IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-
getFlagDefinitionByName
- Specified by:
getFlagDefinitionByName
in interfaceIModule
- Specified by:
getFlagDefinitionByName
in interfaceIModuleExtended<IBoundModule,
IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly>
-