org.viewaframework.util
Class BeanUtils

java.lang.Object
  extended by org.viewaframework.util.BeanUtils

public final class BeanUtils
extends Object

When this class becomes greater then it should be replaced by the Apache BeanUtils dependency

Author:
mario

Constructor Summary
BeanUtils()
           
 
Method Summary
static Object copyProperties(Object dst, Object src)
          This method copies all fields that follows the JavaBeans getter and setter rules.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeanUtils

public BeanUtils()
Method Detail

copyProperties

public static Object copyProperties(Object dst,
                                    Object src)
This method copies all fields that follows the JavaBeans getter and setter rules.

Parameters:
dst - The destination object
src - The source object
Returns:
The destination object with all source object properties


Copyright © 2010. All Rights Reserved.