Class FullViewMapper<T extends org.sklsft.commons.api.model.FullView<U,V>,U extends Serializable,V extends Serializable,W extends org.sklsft.commons.model.interfaces.Entity<U>>

Type Parameters:
T - FullViewinvalid input: '<'U, W> associated to the entity
U - id of the full view and entity
V - form associated to the entity
W - Entity
All Implemented Interfaces:
Mapper<T,W>

public class FullViewMapper<T extends org.sklsft.commons.api.model.FullView<U,V>,U extends Serializable,V extends Serializable,W extends org.sklsft.commons.model.interfaces.Entity<U>> extends BasicMapperImpl<T,W>
This Mapper implementation is adapted to FullView
Author:
Nicolas Thibault
  • Constructor Details

    • FullViewMapper

      public FullViewMapper(Class<T> clazz1, Class<W> clazz2)
  • Method Details

    • getFormMapper

      public AbstractMapper<V,W> getFormMapper()
    • setFormMapper

      public void setFormMapper(AbstractMapper<V,W> formMapper)
    • mapFrom

      public T mapFrom(T obj1, W obj2)
      Specified by:
      mapFrom in interface Mapper<T extends org.sklsft.commons.api.model.FullView<U,V>,U extends Serializable>
      Overrides:
      mapFrom in class BasicMapperImpl<T extends org.sklsft.commons.api.model.FullView<U,V>,W extends org.sklsft.commons.model.interfaces.Entity<U>>
    • mapTo

      public W mapTo(T obj1, W obj2)
      Specified by:
      mapTo in interface Mapper<T extends org.sklsft.commons.api.model.FullView<U,V>,U extends Serializable>
      Overrides:
      mapTo in class BasicMapperImpl<T extends org.sklsft.commons.api.model.FullView<U,V>,W extends org.sklsft.commons.model.interfaces.Entity<U>>