Class MetaschemaBindingsModule

All Implemented Interfaces:
IModule, IModuleExtended<IBoundModule,IBoundDefinitionModelComplex,IBoundDefinitionFlag,IBoundDefinitionModelField<?>,IBoundDefinitionModelAssembly>, IBoundModule

public final class MetaschemaBindingsModule extends AbstractBoundModule
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 Details

    • MetaschemaBindingsModule

      public MetaschemaBindingsModule(List<? extends IBoundModule> importedModules, IBindingContext bindingContext)
      Construct a new module instance.
      Parameters:
      importedModules - modules imported by this module
      bindingContext - the binding context to associate with this module
  • Method Details

    • getName

      public MarkupLine getName()
      Description copied from interface: IModule
      Get the long name for the Metaschema module.
      Returns:
      the name
    • getShortName

      public String getShortName()
      Description copied from interface: IModule
      Retrieves the unique short name for the Metaschema module, which provides a textual identifier for the Metaschema module.
      Returns:
      the short name
    • getVersion

      public String getVersion()
      Description copied from interface: IModule
      Get the revision of the Metaschema module.
      Returns:
      the revision
    • getXmlNamespace

      public URI getXmlNamespace()
      Description copied from interface: IModule
      Retrieves the XML namespace associated with the Metaschema module.
      Returns:
      a namespace
    • getJsonBaseUri

      public URI getJsonBaseUri()
      Description copied from interface: IModule
      Retrieve the JSON schema base URI associated with the Metaschema module.
      Returns:
      the base URI
    • getRemarks

      public MarkupMultiline getRemarks()
      Description copied from interface: IModule
      Retrieve the remarks associated with this Metaschema module, if any.
      Returns:
      the remarks or null if no remarks are defined