public class BeanUtils extends Object
Constructor and Description |
---|
BeanUtils() |
Modifier and Type | Method and Description |
---|---|
static Object |
getBeanProperty(Object bean,
String propertyName)
Retrieve a named bean property value.
|
static long |
getLongBeanProperty(Object bean,
String propertyName)
Retrieve a Long bean property value.
|
public static Object getBeanProperty(Object bean, String propertyName)
bean
- beanpropertyName
- public static long getLongBeanProperty(Object bean, String propertyName) throws NoSuchFieldException
bean
- beanpropertyName
- NoSuchFieldException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.