public interface JpaMapper<E,D>
| Modifier and Type | Method and Description |
|---|---|
D |
map(Tuple tuple)
Usually the first tuple entry is the entity and any additonal tuple entries
are computed attributes.
|
E |
unmap(D dto)
Maps the dto back to the entity.
|
D map(Tuple tuple)
tuple - to map to a DTO. Usually the first entry is the entity. Additional entries are compuated attributes.E unmap(D dto)
dto - to map to an entity.