Class Module

  • All Implemented Interfaces:
    IModule, Serializable

    public class Module
    extends Object
    implements IModule
    This class hold the static data of a specific application version.

    This class is not serializable.

    Since:
    5.0
    Author:
    O. Kerpershoek
    See Also:
    Serialized Form
    • Constructor Detail

      • Module

        public Module​(IProject project,
                      IModuleDS datasource,
                      IFactoryManager factoryManager,
                      IResourceManager resourceManager,
                      IConnectionManager connectionManager,
                      IInitializationReport report,
                      boolean processEnabled,
                      ITraceDao traceDao)
               throws InitializationException
        Constructs an application object from the provided data source. NOTE This constructor is public as it is used in test cases.
        Parameters:
        project - Object containing the project wide definitions.
        datasource - The data source providing all the application information.
        factoryManager - The factory manager that can be used to locate factory implementations.
        resourceManager - The resource manager that can be used to locate external resources like messages.
        report - The report that should be used to add initialization messages to.
        processEnabled - The process engine that is defined in this module, may be null.
        Throws:
        InitializationException - This exception is thrown when the application could not be initialized due to errors.
    • Method Detail

      • getId

        public ModuleID getId()
        Description copied from interface: IModule
        This method returns the ID of the module.
        Specified by:
        getId in interface IModule
        Returns:
        The ID of the application.
      • getMetaModel

        public IMetaModel getMetaModel()
        Description copied from interface: IModule
        This method returns the (static) meta model of the application.
        Specified by:
        getMetaModel in interface IModule
        Returns:
        The meta model of the application.
      • getFlowEngine

        public IFlowEngine getFlowEngine()
        Description copied from interface: IModule
        This method returns the (static) flow engine of the application.
        Specified by:
        getFlowEngine in interface IModule
        Returns:
        The flow engine of the application.
      • getRuleEngine

        public IRuleEngine getRuleEngine()
        Description copied from interface: IModule
        This method returns the (static) rule engine of the application.
        Specified by:
        getRuleEngine in interface IModule
        Returns:
        The rule engine of the application.
      • getComposer

        public IComposer getComposer()
        Description copied from interface: IModule
        This method returns the (static) composer of the application.
        Specified by:
        getComposer in interface IModule
        Returns:
        The composer of the application.
      • getMatchEngine

        public IMatchEngine getMatchEngine()
        Description copied from interface: IModule
        This method returns the match engine for this application.
        Specified by:
        getMatchEngine in interface IModule
        Returns:
        The match engine of this application.
      • getTreeEngine

        public ITreeEngine getTreeEngine()
        Description copied from interface: IModule
        This method returns the (static) tree engine of the application.
        Specified by:
        getTreeEngine in interface IModule
        Returns:
        The tree engine of the application.
      • getServiceCallNames

        public String[] getServiceCallNames()
        Description copied from interface: IModule
        This method returns an array containing all the service call names.
        Specified by:
        getServiceCallNames in interface IModule
        Returns:
        array containing all the service call names.
      • getMaskCallNames

        public String[] getMaskCallNames()
        Description copied from interface: IModule
        This method returns an array containing all the mask definition names.
        Specified by:
        getMaskCallNames in interface IModule
        Returns:
        array containing all the mask definition names.
      • getTraceEngine

        public ITraceEngine getTraceEngine()
        Description copied from interface: IModule
        Returns the Trace Engine.
        Specified by:
        getTraceEngine in interface IModule
        Returns:
        The Trace engine.