Module dev.metaschema.databind
Class MetaschemaBindingsModule
java.lang.Object
dev.metaschema.core.model.AbstractModule<IBoundModule,IBoundDefinitionModelComplex,IBoundDefinitionFlag,IBoundDefinitionModelField<?>,IBoundDefinitionModelAssembly>
dev.metaschema.databind.model.AbstractBoundModule
dev.metaschema.databind.config.binding.MetaschemaBindingsModule
- All Implemented Interfaces:
IModule,IModuleExtended<IBoundModule,,IBoundDefinitionModelComplex, IBoundDefinitionFlag, IBoundDefinitionModelField<?>, IBoundDefinitionModelAssembly> IBoundModule
Metaschema Binding Configuration
This module defines the binding configuration format used to customize Java code generation from Metaschema modules. It allows specifying package names, class names, interface implementations, base classes, and collection types for generated binding classes.
-
Constructor Summary
ConstructorsConstructorDescriptionMetaschemaBindingsModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new module instance. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the JSON schema base URI associated with the Metaschema module.getName()Get the long name for the Metaschema module.Retrieve the remarks associated with this Metaschema module, if any.Retrieves the unique short name for the Metaschema module, which provides a textual identifier for the Metaschema module.Get the revision of the Metaschema module.Retrieves the XML namespace associated with the Metaschema module.Methods inherited from class dev.metaschema.databind.model.AbstractBoundModule
getAssemblyClasses, getAssemblyDefinitionByName, getAssemblyDefinitionMap, getAssemblyDefinitions, getBindingContext, getFieldClasses, getFieldDefinitionByName, getFieldDefinitionMap, getFieldDefinitions, getFlagDefinitionByName, getFlagDefinitions, getLocationHint, getModuleStaticContext, getNamespaceBindings, getNsBindings, getSourceMethods inherited from class dev.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 dev.metaschema.databind.model.IBoundModule
getLocationMethods inherited from interface dev.metaschema.core.model.IModule
getExportedRootAssemblyDefinitionByName, getQNameMethods inherited from interface dev.metaschema.core.model.IModuleExtended
getAssemblyAndFieldDefinitions, getExportedAssemblyDefinitionByName, getExportedAssemblyDefinitions, getExportedFieldDefinitionByName, getExportedFieldDefinitions, getExportedFlagDefinitionByName, getExportedFlagDefinitions, getExportedRootAssemblyDefinitions, getImportedModuleByShortName, getImportedModules, getRootAssemblyDefinitions, getScopedAssemblyDefinitionByName, getScopedFieldDefinitionByName, getScopedFlagDefinitionByName
-
Constructor Details
-
MetaschemaBindingsModule
public MetaschemaBindingsModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext) Construct a new module instance.- Parameters:
importedModules- modules imported by this modulebindingContext- the binding context to associate with this module
-
-
Method Details
-
getName
Description copied from interface:IModuleGet the long name for the Metaschema module.- Returns:
- the name
-
getShortName
Description copied from interface:IModuleRetrieves the unique short name for the Metaschema module, which provides a textual identifier for the Metaschema module.- Returns:
- the short name
-
getVersion
Description copied from interface:IModuleGet the revision of the Metaschema module.- Returns:
- the revision
-
getXmlNamespace
Description copied from interface:IModuleRetrieves the XML namespace associated with the Metaschema module.- Returns:
- a namespace
-
getJsonBaseUri
Description copied from interface:IModuleRetrieve the JSON schema base URI associated with the Metaschema module.- Returns:
- the base URI
-
getRemarks
Description copied from interface:IModuleRetrieve the remarks associated with this Metaschema module, if any.- Returns:
- the remarks or
nullif no remarks are defined
-