public final class NestedProperty<T,B> extends Property<T,B>
Property which is created from a path of other properties| Modifier and Type | Method and Description |
|---|---|
T |
convert(java.lang.Object value)
A basic property returns the same object because there is not a different concrete type.
|
T |
get(B bean) |
java.util.List<Property<?,?>> |
getPath()
Returns all properties in this path
|
static NestedProperty<?,?> |
nested(Property<?,?>... properties) |
static <T,B> NestedProperty<T,B> |
nested(Property<?,B> p1,
Property<?,?> p2,
Property<T,?> p3) |
static <T,B> NestedProperty<T,B> |
nested(Property<?,B> p1,
Property<T,?> p2) |
void |
set(T value,
B bean) |
public static NestedProperty<?,?> nested(Property<?,?>... properties)
public static <T,B> NestedProperty<T,B> nested(Property<?,B> p1, Property<?,?> p2, Property<T,?> p3)
public static <T,B> NestedProperty<T,B> nested(Property<?,B> p1, Property<T,?> p2)
public T convert(java.lang.Object value)
Propertypublic java.util.List<Property<?,?>> getPath()