org.apache.tuscany.sdo.helper
Class CrossScopeCopyHelperImpl

java.lang.Object
  extended by 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.


Nested Class Summary
protected  class CrossScopeCopyHelperImpl.CrossScopeCopier
           
 
Field Summary
protected  commonj.sdo.helper.TypeHelper scope
           
 
Fields inherited from interface commonj.sdo.helper.CopyHelper
INSTANCE
 
Constructor Summary
CrossScopeCopyHelperImpl(commonj.sdo.helper.TypeHelper targetScope)
           
 
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
 

Field Detail

scope

protected commonj.sdo.helper.TypeHelper scope
Constructor Detail

CrossScopeCopyHelperImpl

public CrossScopeCopyHelperImpl(commonj.sdo.helper.TypeHelper targetScope)
Method Detail

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 © 2006 Apache Software Foundation. All Rights Reserved.