Package dev.akif.crud

Interface CRUDUpdateModel<I extends Serializable,E extends CRUDEntity<I,E>>

Type Parameters:
I - Id type of the data
E - Entity type of the data
All Known Subinterfaces:
SimpleModel<I,E>, SimplerModel<I,E,M>
All Known Implementing Classes:
SimplestEntity

public interface CRUDUpdateModel<I extends Serializable,E extends CRUDEntity<I,E>>
Base model that contains required data to update an existing entity
  • Method Summary

    Modifier and Type
    Method
    Description
    Applies updates contained in this model to given entity
  • Method Details

    • updatingFieldsOf

      E updatingFieldsOf(E entity)
      Applies updates contained in this model to given entity
      Parameters:
      entity - Entity to update
      Returns:
      Updated entity