public class PathFieldImpl extends BaseValueAccessor<List<String>,List<String>> implements PathField
| Constructor and Description | 
|---|
PathFieldImpl(String name,
             QueryParameter pathQueryParameter,
             QueryParameter parentQueryParameter,
             QueryParameter idQueryParameter)  | 
| Modifier and Type | Method and Description | 
|---|---|
Predicate | 
childOf(String id)
Builds a predicate matching direct children of object with the given ID. 
 | 
Predicate | 
childrenOf(Collection<String> ids)
Builds a predicate matching direct children of the objects with the given IDs. 
 | 
Predicate | 
descendantOf(String id)
Builds a predicate matching all descendants of the object with the given ID. 
 | 
Predicate | 
descendantOfOrEq(String id)
Builds a predicate matching all descendants of the object with the given ID, including the parent object. 
 | 
Predicate | 
isRoot()
Builds a predicate matching objects at the root of the hierarchy (i.e. with no parent). 
 | 
Ordering | 
orderAsc()
Builds an ordering criterion which sorts by the operand value in ascending order. 
 | 
Ordering | 
orderDesc()
Builds an ordering criterion which sorts by the operand value in descending order. 
 | 
getName, getValueConverterequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetName, getValueConverterpublic PathFieldImpl(String name, QueryParameter pathQueryParameter, QueryParameter parentQueryParameter, QueryParameter idQueryParameter)
public Predicate descendantOf(String id)
HierarchyOperandBuilds a predicate matching all descendants of the object with the given ID.
descendantOf in interface HierarchyOperandid - the id of the (direct or indirect) parent objectpublic Predicate descendantOfOrEq(String id)
HierarchyOperandBuilds a predicate matching all descendants of the object with the given ID, including the parent object.
descendantOfOrEq in interface HierarchyOperandid - the id of the (direct or indirect) parent objectpublic Predicate childOf(String id)
HierarchyOperandBuilds a predicate matching direct children of object with the given ID.
childOf in interface HierarchyOperandid - the id of the direct parent objectpublic Predicate childrenOf(Collection<String> ids)
HierarchyOperandBuilds a predicate matching direct children of the objects with the given IDs.
childrenOf in interface HierarchyOperandids - the ids of the direct parent objectspublic Predicate isRoot()
HierarchyOperandBuilds a predicate matching objects at the root of the hierarchy (i.e. with no parent).
isRoot in interface HierarchyOperandpublic Ordering orderAsc()
HierarchyOperandBuilds an ordering criterion which sorts by the operand value in ascending order.
orderAsc in interface HierarchyOperandpublic Ordering orderDesc()
HierarchyOperandBuilds an ordering criterion which sorts by the operand value in descending order.
orderDesc in interface HierarchyOperandCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.