public class TraversalStep extends APIObject
| Modifier and Type | Method and Description |
|---|---|
TraversalStep |
BACK(String attributeName)
Traverse backward via an attribute
|
TraversalStep |
DISTANCE(int minDistance,
int maxDistance)
Define the distance in terms of how many hops to take when navigating the domain graph along a given attribute.
|
TraversalStep |
FORTH(String attributeName)
Traverse forward via an attribute
|
DomainObjectMatch<DomainObject> |
TO_GENERIC(String domainObjectTypeName)
End the traversal of the domain object graph matching a specific type of domain objects.
|
<T> DomainObjectMatch<T> |
TO(Class<T> domainObjectType)
End the traversal of the domain object graph matching a specific type of domain objects
|
public TraversalStep FORTH(String attributeName)
attributeName - public TraversalStep BACK(String attributeName)
attributeName - public TraversalStep DISTANCE(int minDistance, int maxDistance)
minDistance - the minimum number of hops to navigatemaxDistance - the maximum number of hops to navigatepublic <T> DomainObjectMatch<T> TO(Class<T> domainObjectType)
domainObjectType - public DomainObjectMatch<DomainObject> TO_GENERIC(String domainObjectTypeName)
domainObjectTypeName - Copyright © 2016. All rights reserved.