org.favabeans.base
Class BeanUtils

java.lang.Object
  |
  +--org.favabeans.base.BeanUtils

public class BeanUtils
extends Object


Constructor Summary
BeanUtils()
           
 
Method Summary
static Class getObjectWrapperClass(Class clazz)
           
static PropertyDescriptor getPropertyDescriptor(Class clazz, String propertyName)
           
static PropertyDescriptor[] getPropertyDescriptors(Class clazz)
           
static Object getPropertyValue(Object bean, PropertyDescriptor descriptor)
           
static void setPropertyValue(Object bean, PropertyDescriptor descriptor, Object value)
           
 
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

getPropertyDescriptors

public static PropertyDescriptor[] getPropertyDescriptors(Class clazz)

getPropertyDescriptor

public static PropertyDescriptor getPropertyDescriptor(Class clazz,
                                                       String propertyName)

getPropertyValue

public static Object getPropertyValue(Object bean,
                                      PropertyDescriptor descriptor)

setPropertyValue

public static void setPropertyValue(Object bean,
                                    PropertyDescriptor descriptor,
                                    Object value)

getObjectWrapperClass

public static Class getObjectWrapperClass(Class clazz)


Copyright © 2000-2001, Regents of the University of Minnesota. All Rights Reserved.