org.kuali.kfs.module.cam.util
Class ObjectValueUtils

java.lang.Object
  extended by org.kuali.kfs.module.cam.util.ObjectValueUtils

public final class ObjectValueUtils
extends Object

This class is a utility which will do copying of attributes from a original object to destination object. Intention was to provide a attribute value copying mechanism which is less expensive than ObjectUtils.deepCopy() method


Method Summary
static void copySimpleProperties(Object origin, Object destination)
          This method uses simple getter/setter methods to copy object values from a original object to destination object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

copySimpleProperties

public static void copySimpleProperties(Object origin,
                                        Object destination)
This method uses simple getter/setter methods to copy object values from a original object to destination object

Parameters:
origin - original object
destination - destination object


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