org.apache.ojb.otm.copy
Class ReflectiveObjectCopyStrategy

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

public final class ReflectiveObjectCopyStrategy
extends Object
implements ObjectCopyStrategy

User: matthew.baird Date: Jul 7, 2003 Time: 3:05:22 PM


Constructor Summary
ReflectiveObjectCopyStrategy()
           
 
Method Summary
 Object copy(Object toCopy, PersistenceBroker broker)
          makes a deep clone of the object, using reflection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectiveObjectCopyStrategy

public ReflectiveObjectCopyStrategy()
Method Detail

copy

public final Object copy(Object toCopy,
                         PersistenceBroker broker)
makes a deep clone of the object, using reflection.

Specified by:
copy in interface ObjectCopyStrategy
Parameters:
toCopy - the object you want to copy
Returns:


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