|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.formaria.dto.DtoFactory
public class DtoFactory
The factory class that creates a Transfer Object for a given domain object. The class stores information about the object and can create a transfer object based upon the Dto annotations.
Copyright (c) Formaria Ltd., 2008, see license.txt for license information
| Method Summary | |
|---|---|
java.io.Serializable |
createTransferObject(java.lang.Object domainObject,
boolean deepCopy)
Create a Transfer Object for the given object. |
void |
saveTransferObject(java.lang.Object domainObject,
java.lang.Object transferObject,
boolean deepCopy)
Read the data from the transfer object and save it to the original domain object |
void |
setBuildPath(java.lang.String buildPath)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void setBuildPath(java.lang.String buildPath)
public java.io.Serializable createTransferObject(java.lang.Object domainObject,
boolean deepCopy)
deepCopy - get a deep copy of the DTO, including DTO versions of the
nested objects
public void saveTransferObject(java.lang.Object domainObject,
java.lang.Object transferObject,
boolean deepCopy)
domainObject - transferObject - deepCopy - get a deep copy of the DTO, including DTO versions of the
nested objects
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||