Package dev.akif.crud
Interface CRUDUpdateModel<I extends Serializable,E extends CRUDEntity<I,E>>
- Type Parameters:
I
- Id type of the dataE
- 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 TypeMethodDescriptionupdatingFieldsOf
(E entity) Applies updates contained in this model to given entity
-
Method Details
-
updatingFieldsOf
Applies updates contained in this model to given entity- Parameters:
entity
- Entity to update- Returns:
- Updated entity
-