org.richfaces.cdk.util
Class PropertyUtils

java.lang.Object
  extended by org.richfaces.cdk.util.PropertyUtils

public final class PropertyUtils
extends java.lang.Object

Author:
asmirnov@exadel.com

Method Summary
static java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Object bean, java.lang.String propertyName)
           
static java.lang.String methodToName(java.lang.String methodName)
           
static void setPropertyValue(java.lang.Object bean, java.lang.String propertyName, java.lang.Object newValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

methodToName

public static java.lang.String methodToName(java.lang.String methodName)
                                     throws InvalidNameException
Throws:
InvalidNameException

setPropertyValue

public static void setPropertyValue(java.lang.Object bean,
                                    java.lang.String propertyName,
                                    java.lang.Object newValue)

getPropertyDescriptor

public static java.beans.PropertyDescriptor getPropertyDescriptor(java.lang.Object bean,
                                                                  java.lang.String propertyName)


Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.