org.apache.tuscany.sdo.helper
Class CrossScopeCopyHelperImpl
java.lang.Object
org.apache.tuscany.sdo.helper.CrossScopeCopyHelperImpl
- All Implemented Interfaces:
- commonj.sdo.helper.CopyHelper
public class CrossScopeCopyHelperImpl
- extends java.lang.Object
- implements commonj.sdo.helper.CopyHelper
A CopyHelper implementation that creates the copy objects in a specific metadata scope.
The target scope must contain a compatible version of the Types needed to create the copy objects.
Field Summary |
protected commonj.sdo.helper.TypeHelper |
scope
|
Fields inherited from interface commonj.sdo.helper.CopyHelper |
INSTANCE |
Method Summary |
commonj.sdo.DataObject |
copy(commonj.sdo.DataObject dataObject)
|
commonj.sdo.DataObject |
copyShallow(commonj.sdo.DataObject dataObject)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scope
protected commonj.sdo.helper.TypeHelper scope
CrossScopeCopyHelperImpl
public CrossScopeCopyHelperImpl(commonj.sdo.helper.TypeHelper targetScope)
copyShallow
public commonj.sdo.DataObject copyShallow(commonj.sdo.DataObject dataObject)
- Specified by:
copyShallow
in interface commonj.sdo.helper.CopyHelper
copy
public commonj.sdo.DataObject copy(commonj.sdo.DataObject dataObject)
- Specified by:
copy
in interface commonj.sdo.helper.CopyHelper
Copyright © 2007 Apache Software Foundation. All Rights Reserved.