public abstract class FluentBeanUtils
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
FluentBeanUtils.Metadata |
| Constructor and Description |
|---|
FluentBeanUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.Object |
get(java.lang.String property,
java.lang.Object bean)
Get the value of a property.
|
static boolean |
isFluentBean(java.lang.Class<?> type)
Determines whether a given type looks like a fluent bean.
|
static FluentBeanUtils.Metadata |
metadata(java.lang.Class<?> targetType)
Interrogate a bean and collect
FluentBeanUtils.Metadata on it. |
static java.lang.Object |
set(java.lang.String property,
java.lang.Object value,
java.lang.Object bean)
Set the property of a fluent bean.
|
public static FluentBeanUtils.Metadata metadata(java.lang.Class<?> targetType)
FluentBeanUtils.Metadata on it.targetType - The type to interrogate.FluentBeanUtils.Metadata for the fluent bean.public static java.lang.Object set(java.lang.String property,
java.lang.Object value,
java.lang.Object bean)
property - Name of the property to set.value - Value of the property.bean - Bean on which to set this property.public static java.lang.Object get(java.lang.String property,
java.lang.Object bean)
property - Name of the property.bean - Bean of which to get the property.public static boolean isFluentBean(java.lang.Class<?> type)
type - The class to inspect.