E - the element typeBO - the generic typepublic interface EntityBOMapper<E extends de.alpharogroup.db.entity.BaseEntity<?>,BO extends BusinessObject<?>>
EntityBOMapper provides the methods for mapping entities to business
objects and back.| Modifier and Type | Method and Description |
|---|---|
BO |
toBusinessObject(E entity)
Maps the given entity object to a business object.
|
List<BO> |
toBusinessObjects(List<E> entities)
Maps the given list of entity objects to a list of business objects.
|
List<E> |
toEntities(List<BO> businessObjects)
Maps the given list of business objects to a list of entity objects.
|
E |
toEntity(BO businessObject)
Maps the given business object to a entity object.
|
BO toBusinessObject(E entity)
entity - the entityList<BO> toBusinessObjects(List<E> entities)
entities - the entitiesList<E> toEntities(List<BO> businessObjects)
businessObjects - the list of business objectsCopyright © 2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.