Class DiscoveryResultDTOMapper


  • @NonNullByDefault
    public class DiscoveryResultDTOMapper
    extends Object
    The DiscoveryResultDTOMapper is an utility class to map discovery results into discovery result transfer objects.
    Author:
    Stefan Bussweiler - Initial contribution
    • Constructor Detail

      • DiscoveryResultDTOMapper

        public DiscoveryResultDTOMapper()
    • Method Detail

      • map

        public static DiscoveryResultDTO map​(DiscoveryResult discoveryResult)
        Maps discovery result into discovery result data transfer object.
        Parameters:
        discoveryResult - the discovery result
        Returns:
        the discovery result data transfer object
      • map

        public static DiscoveryResult map​(DiscoveryResultDTO discoveryResultDTO)
        Maps discovery result data transfer object into discovery result.
        Parameters:
        discoveryResultDTO - the discovery result data transfer object
        Returns:
        the discovery result