public static final class Reflection.PropertyPath extends Object implements Comparable<Reflection.PropertyPath>, Serializable
Reflection.getBaseBeanPropertyPaths(Object) and Reflection.setBeanProperties(Object, Map).| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Reflection.PropertyPath other) |
boolean |
equals(Object object) |
int |
hashCode() |
static Reflection.PropertyPath |
of(Comparable<? extends Serializable>... nodes)
Create a new property path composed of given nodes.
|
String |
toString()
Returns the property path as string, conform the EL rules.
|
Reflection.PropertyPath |
with(Comparable<? extends Serializable> node)
Create a new property path composed of the nodes of the current property path with the given node added.
|
@SafeVarargs public static Reflection.PropertyPath of(Comparable<? extends Serializable>... nodes)
nodes - Nodes of property path.NullPointerException - When one of the nodes is null.IllegalArgumentException - When one of the nodes is actually not an instance of Serializable.public Reflection.PropertyPath with(Comparable<? extends Serializable> node)
node - Node to extend the current property path with.NullPointerException - When node is null.public int compareTo(Reflection.PropertyPath other)
compareTo in interface Comparable<Reflection.PropertyPath>Copyright © 2012–2020 OmniFaces. All rights reserved.