Class ProductMapper<T extends es.kukenan.smartfi.microservice.transfer.api.products.ProductDto>

java.lang.Object
es.kukenan.smartfi.microservice.transfer.service.backoffice.product.mapper.ProductMapper<T>
Type Parameters:
T - Core response wrapper type for products GET collection operation.
Direct Known Subclasses:
ProductDestinationMapper, ProductOriginMapper

public abstract class ProductMapper<T extends es.kukenan.smartfi.microservice.transfer.api.products.ProductDto> extends Object
This class is used to map to and from a ProductMapper.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    UnimplementedMapperException.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    map(es.kukenan.smartfi.microservice.contracts.api.products.ProductDto productDto)
    Map an ProductDto to a ProductDestinationDto.
    (package private) T
    map(es.kukenan.smartfi.microservice.contracts.api.products.ProductDto productDto, T parentDto)
     

    Methods inherited from class java.lang.Object

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

    • ProductMapper

      public ProductMapper()
  • Method Details

    • map

      public T map(es.kukenan.smartfi.microservice.contracts.api.products.ProductDto productDto)
      Map an ProductDto to a ProductDestinationDto.
      Parameters:
      productDto - the given ProductDto
      Returns:
      the mapped ProductDto.
    • map

      T map(es.kukenan.smartfi.microservice.contracts.api.products.ProductDto productDto, T parentDto)