public abstract class AbstractRangeDeclaration extends Declaration
DerivedDeclaration,
RangeDeclarationJPQLQueryDeclaration.Type| Modifier and Type | Field and Description |
|---|---|
protected 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. |
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, waitgetTypepublic AbstractRangeDeclaration()
AbstractRangeDeclaration.protected void addJoin(Join join)
Join.join - The Join that is declared in the range variable declarationpublic 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 JPQLQueryDeclaration.Type.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 falseCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.