java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.metamodel.ds.xml.r12.parsing.XmlMetaModelDS
All Implemented Interfaces:
IReportingDS, IMetaModelDS

public class XmlMetaModelDS extends ReportingDS implements IMetaModelDS
Release 8.x implementation of the meta model data source from XML created by MetaModelXml.
Since:
7.2
Author:
Jon van Leuven
  • Constructor Details

    • XmlMetaModelDS

      public XmlMetaModelDS(IInitializationReport report, IXmlNode node)
      Constructs a datasource implementation based on an XML node.
      Parameters:
      report - The initialization report that is used to add messages during datasource reading.
      node - The xml node containing the metamodel definitions.
  • 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.
    • 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.