public class NestedProperty<T,B> extends Property<T,B>
Property which is created from a path of other properties| Modifier and Type | Field and Description |
|---|---|
private java.util.List<Property<?,?>> |
path |
private static long |
serialVersionUID |
| Modifier | Constructor and Description |
|---|---|
private |
NestedProperty(Property<?,?>... properties) |
private |
NestedProperty(Property<?,B> p1,
Property<?,?> p2,
Property<T,?> p3) |
private |
NestedProperty(Property<?,B> p1,
Property<T,?> p2) |
| 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) |
private static java.lang.String |
getName(Property<?,?>... properties) |
java.util.List<Property<?,?>> |
getPath()
Returns all properties in this path
|
private static java.util.List<Property<?,?>> |
getPath(Property<?,?>... properties) |
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) |
private static final long serialVersionUID
private java.util.List<Property<?,?>> path
private NestedProperty(Property<?,?>... properties)
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)
private static java.lang.String getName(Property<?,?>... properties)
public T convert(java.lang.Object value)
Propertypublic java.util.List<Property<?,?>> getPath()