D - the generic type of domain objectT - the generic type of transport objectpublic interface DomainTransportTransfer<D,T>
| Modifier and Type | Method and Description |
|---|---|
Class<D> |
getDomainType()
Gets the domain type.
|
OSRole<?> |
getOSRole()
This will return the
OSRole that can be used for a deep conversion of the object graph. |
String |
getParentAssociationRoleName() |
Class<T> |
getTransportType()
Gets the transport type.
|
void |
transferToDomain(T transportObject,
D domainObject)
Transfer values from the transport to domain object.
|
void |
transferToTransport(D domainObject,
T transportObject)
Transfer values from the domain to transport object.
|
void transferToDomain(T transportObject, D domainObject)
transportObject - the source objectdomainObject - the target objectvoid transferToTransport(D domainObject, T transportObject)
domainObject - the source objecttransportObject - the target objectOSRole<?> getOSRole()
OSRole that can be used for a deep conversion of the object graph.String getParentAssociationRoleName()
nullCopyright © 2006–2018 Esito AS. All rights reserved.