public class PathNode extends DomainObject implements PathProperty
| Modifier and Type | Field and Description |
|---|---|
protected Expression |
expr |
protected boolean |
isRoot |
protected Type |
type |
source, sourceProperty| Modifier | Constructor and Description |
|---|---|
protected |
PathNode(PathNode source,
String sourceProperty) |
protected |
PathNode(PathNode source,
String sourceProperty,
Expression expr) |
protected |
PathNode(Type type) |
| Modifier and Type | Method and Description |
|---|---|
Wildcard |
dataWildcard()
Returns all data properties for current
Type. |
protected PathNode |
getSource() |
protected String |
getSourceProperty() |
Expression |
group(Expression source) |
Expression |
isNotNull()
Returns a boolean expression where
this property is not equal to null.
|
Expression |
isNull()
Returns a boolean expression where
this property is equal to null.
|
boolean |
isRoot() |
Wildcard |
referenceWildcard()
Returns all reference properties for current
Type. |
Wildcard |
subclassDataWildcard()
Returns all data properties for current
Type and all of its sub types. |
Wildcard |
wildcard()
Returns all data properties for current
Type. |
protected Type type
protected boolean isRoot
protected Expression expr
protected PathNode(Type type)
protected PathNode(PathNode source, String sourceProperty, Expression expr)
public boolean isRoot()
protected PathNode getSource()
protected String getSourceProperty()
public Wildcard wildcard()
Type. The
current Type is the domain classifier or class for the current
query path step or segment.Type.public Wildcard dataWildcard()
Type. The
current Type is the domain classifier or class for the current
query path step or segment.Type.public Wildcard referenceWildcard()
Type. The
current Type is the domain classifier or class for the current
query path step or segment.Type.public Wildcard subclassDataWildcard()
Type and all of its sub types. The
current Type is the domain classifier or class for the current
query path step or segment.Type and all of its sub types.public Expression group(Expression source)
public Expression isNotNull()
PathPropertyisNotNull in interface PathPropertypublic Expression isNull()
PathPropertyisNull in interface PathPropertyCopyright © 2017. All rights reserved.