public abstract class AbstractRangeDeclaration extends Declaration
DerivedDeclaration,
RangeDeclarationJPQLQueryDeclaration.Type| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<Join> |
joins
The list of JOIN expressions that are declared in the same declaration than the range
variable declaration represented by this declaration.
|
baseExpression, declarationExpression, identificationVariable, rootPath| Constructor and Description |
|---|
AbstractRangeDeclaration()
Creates a new
AbstractRangeDeclaration. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addJoin(Join join)
Adds the given
Join. |
java.util.List<Join> |
getJoins()
Returns the
JOIN expressions defined with this declaration, if supported. |
boolean |
hasJoins()
Determines whether the declaration contains JOIN expressions.
|
getBaseExpression, getDeclarationExpression, getIdentificationVariable, getRootPath, getVariableName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetTypeprotected java.util.List<Join> joins
public AbstractRangeDeclaration()
AbstractRangeDeclaration.protected void addJoin(Join join)
Join.join - The Join that is declared in the range variable declarationpublic java.util.List<Join> getJoins()
JOIN expressions defined with this declaration, if supported.
The list contains the JOIN expressions in ordered they were declared.getJoins in interface JPQLQueryDeclarationgetJoins in class Declarationpublic boolean hasJoins()
true only when #isRange() returns true. A collection
member declaration does not have JOIN expressions.hasJoins in interface JPQLQueryDeclarationhasJoins in class Declarationtrue if at least one JOIN expression was parsed;
otherwise false