Class ReportingMappingDS

java.lang.Object
com.aquima.interactions.foundation.report.ReportingDS
com.aquima.interactions.mapping.report.ReportingMappingDS
All Implemented Interfaces:
IReportingDS, IMappingDS

public class ReportingMappingDS extends ReportingDS implements IMappingDS
IMappingDS implementation that adds error reporting.
Since:
7.1
Author:
Jon van Leuven
  • Constructor Details

    • ReportingMappingDS

      public ReportingMappingDS(IInitializationReport report, IMappingDS datasource)
      Constructs the wrapper with the required arguments.
      Parameters:
      report - The report that should be used to add errors and warnings to.
      datasource - The data source that should be wrapped.
  • Method Details

    • getName

      public String getName()
      Description copied from interface: IMappingDS
      This method returns a unique name of the mapping.
      Specified by:
      getName in interface IMappingDS
      Returns:
      The unique name, never null or empty.
    • iterateMappings

      public void iterateMappings(IEntityMappingVisitor visitor)
      Description copied from interface: IMappingDS
      This method should iterate over all the entity mappings and add a data source for each mapping that should be used.
      Specified by:
      iterateMappings in interface IMappingDS
      Parameters:
      visitor - The visitor that should be used to add the entity mappings to.
    • getSourceName

      public String getSourceName()
      Description copied from interface: IMappingDS
      This method returns the name of the source module.
      Specified by:
      getSourceName in interface IMappingDS
      Returns:
      The name of the source module.
    • getSourceVersion

      public Version getSourceVersion()
      Description copied from interface: IMappingDS
      This method returns the version of the source module.
      Specified by:
      getSourceVersion in interface IMappingDS
      Returns:
      the version of the source module.
    • getTargetName

      public String getTargetName()
      Description copied from interface: IMappingDS
      This method returns the name of the target module.
      Specified by:
      getTargetName in interface IMappingDS
      Returns:
      The name of the target module.
    • getTargetVersion

      public Version getTargetVersion()
      Description copied from interface: IMappingDS
      This method returns the version of the target module.
      Specified by:
      getTargetVersion in interface IMappingDS
      Returns:
      the version of the target module.