public class TransferObjectUtilLimitedImpl extends AbstractLoggableComponent implements TransferObjectUtilLimited
TransferObjectUtilLimited.| Constructor and Description |
|---|
TransferObjectUtilLimitedImpl()
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
<TO extends AbstractTransferObject> |
clone(TO template)
|
<TO extends AbstractTransferObject> |
newInstance(TO template)
This method creates a new instance of the
AbstractTransferObject given as template. |
createLogger, doInitialize, getLoggerdoInitialized, getInitializationState, initializepublic TransferObjectUtilLimitedImpl()
public <TO extends AbstractTransferObject> TO clone(TO template)
TransferObjectUtilLimitedclone of the AbstractTransferObject given as template.
It should create a deep-copy that does NOT contain references to the original template objects so that
modifications of the returned object will NOT have side-effects on the original template object(s).clone in interface TransferObjectUtilLimitedTO - is the generic type of the AbstractTransferObject.template - is the AbstractTransferObject to clone. Must NOT be null.type as the given template.public <TO extends AbstractTransferObject> TO newInstance(TO template)
TransferObjectUtilLimitedAbstractTransferObject given as template. A simple
implementation my just return
template.getClass().newInstance(). However, an
implementation may also be generated to be GWT compatible.newInstance in interface TransferObjectUtilLimitedTO - is the generic type of the AbstractTransferObject.template - is the AbstractTransferObject to create a new instance of. Must NOT be null.type as the given template.Copyright © 2001–2016 mmm-Team. All rights reserved.