Interface EntityMapper<T>


  • public interface EntityMapper<T>
    A mapper is a converter of a map with the attributes of an entity to that entity reified.
    Author:
    mmoquillon
    • Method Detail

      • map

        T map​(Map<String,​Object> model)
        Maps the specified generic model of an entity to that reified entity.
        Parameters:
        model - the model to convert.
        Returns:
        an instance of the expected entity with all of its attributes set from the specified model.