Class XmlMappingDS

  • All Implemented Interfaces:
    IReportingDS, IMappingDS

    public class XmlMappingDS
    extends ReportingDS
    implements IMappingDS
    Implementation of the IMappingDS interface using a mapping definition from an r8 XML.
    Since:
    7.2
    Author:
    Jon van Leuven
    • Method Detail

      • 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.
      • 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.
      • 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.