public class ObjectPropertyUtils extends Object
BeanWrapper
Constructor and Description |
---|
ObjectPropertyUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
copyPropertiesToObject(Map<String,String> properties,
Object object) |
static PropertyDescriptor[] |
getPropertyDescriptors(Object object) |
static Class<?> |
getPropertyType(Class<?> object,
String propertyPath) |
static Class<?> |
getPropertyType(Object object,
String propertyPath) |
static <T> T |
getPropertyValue(Object object,
String propertyPath) |
static void |
initializeProperty(Object object,
String propertyPath) |
static boolean |
isReadableProperty(Object object,
String propertyPath) |
static boolean |
isWritableProperty(Object object,
String propertyPath) |
static void |
setPropertyValue(Object object,
String propertyPath,
Object propertyValue) |
static void |
setPropertyValue(Object object,
String propertyPath,
Object propertyValue,
boolean ignoreUnknown) |
static org.springframework.beans.BeanWrapper |
wrapObject(Object object) |
public ObjectPropertyUtils()
public static void copyPropertiesToObject(Map<String,String> properties, Object object)
public static PropertyDescriptor[] getPropertyDescriptors(Object object)
public static Class<?> getPropertyType(Class<?> object, String propertyPath)
public static Class<?> getPropertyType(Object object, String propertyPath)
public static <T> T getPropertyValue(Object object, String propertyPath)
public static void initializeProperty(Object object, String propertyPath)
public static void setPropertyValue(Object object, String propertyPath, Object propertyValue)
public static void setPropertyValue(Object object, String propertyPath, Object propertyValue, boolean ignoreUnknown)
public static boolean isReadableProperty(Object object, String propertyPath)
public static boolean isWritableProperty(Object object, String propertyPath)
public static org.springframework.beans.BeanWrapper wrapObject(Object object)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.