net.sf.minuteProject.architecture.utils
Class BeanUtils

java.lang.Object
  extended by net.sf.minuteProject.architecture.utils.BeanUtils

public class BeanUtils
extends Object


Constructor Summary
BeanUtils()
           
 
Method Summary
static Object cloneBeanObject(Object origin)
           
static void copyBeanObject(Object origin, Object target)
           
static Object getBeanObjectInstance(Object bean)
           
static void populateBeanObject(Object bean, String beanPath, Object value)
           
static void populateObject(Object bean, Object value, String beanPath)
           
 
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

copyBeanObject

public static void copyBeanObject(Object origin,
                                  Object target)
                           throws IllegalAccessException,
                                  InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException

cloneBeanObject

public static Object cloneBeanObject(Object origin)
                              throws IllegalAccessException,
                                     InvocationTargetException,
                                     InstantiationException,
                                     NoSuchMethodException
Throws:
IllegalAccessException
InvocationTargetException
InstantiationException
NoSuchMethodException

populateBeanObject

public static void populateBeanObject(Object bean,
                                      String beanPath,
                                      Object value)
                               throws IllegalAccessException,
                                      InvocationTargetException,
                                      NoSuchMethodException
Throws:
IllegalAccessException
InvocationTargetException
NoSuchMethodException

getBeanObjectInstance

public static Object getBeanObjectInstance(Object bean)
                                    throws SecurityException,
                                           NoSuchMethodException,
                                           IllegalArgumentException,
                                           InstantiationException,
                                           IllegalAccessException,
                                           InvocationTargetException
Throws:
SecurityException
NoSuchMethodException
IllegalArgumentException
InstantiationException
IllegalAccessException
InvocationTargetException

populateObject

public static void populateObject(Object bean,
                                  Object value,
                                  String beanPath)
                           throws IllegalAccessException,
                                  InvocationTargetException
Throws:
IllegalAccessException
InvocationTargetException


Copyright © 2013. All Rights Reserved.