public class PropertyPath extends Object
foo.bar.baz
) represented by PathedPropertyReferenceSource
s used
in a SELECT, GROUP BY, WHERE or HAVING clause.Modifier and Type | Field and Description |
---|---|
protected LinkedList<PathedPropertyReferenceSource> |
path |
Constructor and Description |
---|
PropertyPath()
Creates an empty path.
|
PropertyPath(PropertyPath other)
Creates a copy of a given path.
|
Modifier and Type | Method and Description |
---|---|
void |
appendNode(PathedPropertyReferenceSource property) |
String |
asStringPathWithoutAlias() |
PathedPropertyReferenceSource |
getFirstNode() |
PathedPropertyReferenceSource |
getLastNode() |
List<String> |
getNodeNamesWithoutAlias() |
List<PathedPropertyReferenceSource> |
getNodes() |
String |
toString() |
protected final LinkedList<PathedPropertyReferenceSource> path
public PropertyPath()
public PropertyPath(PropertyPath other)
other
- the path to copy; can be null
public void appendNode(PathedPropertyReferenceSource property)
public PathedPropertyReferenceSource getLastNode()
public PathedPropertyReferenceSource getFirstNode()
public List<PathedPropertyReferenceSource> getNodes()
public String asStringPathWithoutAlias()
Copyright © 2017. All rights reserved.