Package pl.javahello

Interface Adapter<S,​R>

  • Type Parameters:
    S - Source type.
    R - Target type.

    public interface Adapter<S,​R>
    Converts one type of object into another. Used for mapstruct code generation. Usually handles conversion between dto and entity.