org.apache.ojb.otm.copy
Class MetadataObjectCopyStrategy

java.lang.Object
  extended by org.apache.ojb.otm.copy.MetadataObjectCopyStrategy
All Implemented Interfaces:
ObjectCopyStrategy

public final class MetadataObjectCopyStrategy
extends Object
implements ObjectCopyStrategy

recursively copies an object based on the ClassDescriptor User: matthew.baird Date: Jul 7, 2003 Time: 1:41:58 PM


Constructor Summary
MetadataObjectCopyStrategy()
           
 
Method Summary
 Object copy(Object obj, PersistenceBroker broker)
          Uses an IdentityMap to make sure we don't recurse infinitely on the same object in a cyclic object model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataObjectCopyStrategy

public MetadataObjectCopyStrategy()
Method Detail

copy

public Object copy(Object obj,
                   PersistenceBroker broker)
Uses an IdentityMap to make sure we don't recurse infinitely on the same object in a cyclic object model. Proxies

Specified by:
copy in interface ObjectCopyStrategy
Parameters:
obj -
Returns:


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.