java.lang.Object
com.aquima.interactions.portal.ds.sys.metamodel.MetaModelDS
All Implemented Interfaces:
IReportingDS, IMetaModelDS

public class MetaModelDS extends Object implements IMetaModelDS
Meta model data-source implementation that adds the definition of the System entity.
Since:
5.0
Author:
O. Kerpershoek
  • Field Summary

    Fields inherited from interface com.aquima.interactions.metamodel.ds.IMetaModelDS

    CATEGORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs the system data-source with an existing data-source implementation that will be used as fall back.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addMessage(ErrorCode code, String[] parameters, Severity severity)
    This method will add an initialization error to the report for the specified error code and parameters.
    This method returns the name of the module this model belongs to.
    This method returns the version of the module this model belongs to.
    void
    This method will be invoked by the meta model component to allow the data layer to add new aggregate definitions to the meta model.
    void
    This method will be invoked by the meta model component to allow the data layer to add new domain definitions to the meta model.
    void
    This method will be invoked by the meta model component to allow the data layer to add new entity definitions to the meta model.
    void
    This method should iterate over all (static) instances and invoke the visitor with an implementation of IStaticInstanceDS to allow the instance to be initialized.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MetaModelDS

      public MetaModelDS(IMetaModelDS datasource)
      Constructs the system data-source with an existing data-source implementation that will be used as fall back.
      Parameters:
      datasource - Data source providing the information to initialize a meta model.
  • Method Details

    • getModuleName

      public String getModuleName()
      Description copied from interface: IMetaModelDS
      This method returns the name of the module this model belongs to.
      Specified by:
      getModuleName in interface IMetaModelDS
      Returns:
      the name of the module this model belongs to.
    • getModuleVersion

      public Version getModuleVersion()
      Description copied from interface: IMetaModelDS
      This method returns the version of the module this model belongs to.
      Specified by:
      getModuleVersion in interface IMetaModelDS
      Returns:
      The version of the module this model belongs to.
    • addMessage

      public void addMessage(ErrorCode code, String[] parameters, Severity severity)
      Description copied from interface: IReportingDS
      This method will add an initialization error to the report for the specified error code and parameters.
      Specified by:
      addMessage in interface IReportingDS
      Parameters:
      code - Error code identifying the message.
      parameters - Optional array of parameters for the message.
      severity - The severity of the message.
    • iterateDomains

      public void iterateDomains(IDomainVisitor visitor)
      Description copied from interface: IMetaModelDS
      This method will be invoked by the meta model component to allow the data layer to add new domain definitions to the meta model.
      Specified by:
      iterateDomains in interface IMetaModelDS
      Parameters:
      visitor - This object will be provided by the meta model to allow new domains to be added.
    • iterateEntities

      public void iterateEntities(IEntityVisitor visitor)
      Description copied from interface: IMetaModelDS
      This method will be invoked by the meta model component to allow the data layer to add new entity definitions to the meta model.
      Specified by:
      iterateEntities in interface IMetaModelDS
      Parameters:
      visitor - The visitor that should be used to add the entities to.
    • iterateInstances

      public void iterateInstances(IInstanceVisitor visitor)
      Description copied from interface: IMetaModelDS
      This method should iterate over all (static) instances and invoke the visitor with an implementation of IStaticInstanceDS to allow the instance to be initialized.
      Specified by:
      iterateInstances in interface IMetaModelDS
      Parameters:
      visitor - The visitor that should be used to add the instances to.
    • iterateAggregates

      public void iterateAggregates(IAggregateVisitor visitor)
      Description copied from interface: IMetaModelDS
      This method will be invoked by the meta model component to allow the data layer to add new aggregate definitions to the meta model.
      Specified by:
      iterateAggregates in interface IMetaModelDS
      Parameters:
      visitor - This object will be provided by the meta model to allow new aggregates to be added.