org.plasma.query.dsl
Class PathNode
java.lang.Object
org.plasma.query.dsl.DomainObject
org.plasma.query.dsl.PathNode
- All Implemented Interfaces:
- PathProperty, Property, Term
- Direct Known Subclasses:
- DomainRoot
public class PathNode
- extends DomainObject
- implements PathProperty
A domain object which is not an end point but
a single step within a path within a query graph.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
type
protected Type type
isRoot
protected boolean isRoot
expr
protected Expression expr
PathNode
protected PathNode(Type type)
PathNode
protected PathNode(PathNode source,
java.lang.String sourceProperty)
PathNode
protected PathNode(PathNode source,
java.lang.String sourceProperty,
Expression expr)
isRoot
public boolean isRoot()
getSource
protected PathNode getSource()
getSourceProperty
protected java.lang.String getSourceProperty()
wildcard
public Wildcard wildcard()
group
public Expression group(Expression source)
isNotNull
public Expression isNotNull()
- Description copied from interface:
PathProperty
- Returns a boolean expression where
this property is not equal to null.
- Specified by:
isNotNull in interface PathProperty
- Returns:
- the boolean expression
isNull
public Expression isNull()
- Description copied from interface:
PathProperty
- Returns a boolean expression where
this property is equal to null.
- Specified by:
isNull in interface PathProperty
- Returns:
- the boolean expression
Copyright © 2013. All Rights Reserved.