Interface MapInput

All Known Subinterfaces:
MappableToModel<T>, Model

public interface MapInput
To be implemented by classes which can be populated from a Map
  • Method Summary

    Modifier and Type
    Method
    Description
    default MapInput
    Fills the class with information retrieved from the map
  • Method Details

    • fromMap

      default MapInput fromMap(Map<String,Object> params)
      Fills the class with information retrieved from the map
      Parameters:
      params - Map containing keys which matches names of fields in the class