JPQLQueryDeclaration.
| Modifier and Type | Field and Description |
|---|---|
| protected Expression | baseExpression
Either the range variable declaration if this is a range declaration otherwise the collection-valued path expression when this is a collection member declaration. |
| protected Expression | declarationExpression
The declaration expression, which is either an |
| protected IdentificationVariable | identificationVariable
The identification variable used to declare the "root" object. |
| protected String | rootPath
The "root" object for objects which may not be reachable by navigation, it is either the
abstract schema name (entity name), a derived path expression (which is only defined in a
subquery) or |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public Expression | getBaseExpression()
Implements org. |
| public Expression | getDeclarationExpression()
Implements org. IdentificationVariableDeclaration
or a CollectionMemberDeclaration
when part of a FROM clause, otherwise it's either the DeleteClause or the UpdateClause.
|
| public IdentificationVariable | Returns: The alias for the "root" objectReturns the |
| public List | getJoins()
Implements org. JOIN expressions defined with this declaration, if supported.
|
| public String | Returns: The "root" object for objects which may not be reachable by navigation ornull if this Declaration is a collection member declarationReturns the "root" object for objects which may not be reachable by navigation, it is
either the abstract schema name (entity name), a derived path expression (which is only
defined in a subquery) or |
| public String | getVariableName()
Implements org. |
| public boolean | hasJoins()
Implements org. |
| public String |
| baseExpression | back to summary |
|---|---|
| protected Expression baseExpression Either the range variable declaration if this is a range declaration otherwise the collection-valued path expression when this is a collection member declaration. | |
| declarationExpression | back to summary |
|---|---|
| protected Expression declarationExpression The declaration expression, which is either an | |
| identificationVariable | back to summary |
|---|---|
| protected IdentificationVariable identificationVariable The identification variable used to declare the "root" object. | |
| rootPath | back to summary |
|---|---|
| protected String rootPath The "root" object for objects which may not be reachable by navigation, it is either the
abstract schema name (entity name), a derived path expression (which is only defined in a
subquery) or | |
| Declaration | back to summary |
|---|---|
| protected Declaration() Creates a new | |
| getBaseExpression | back to summary |
|---|---|
| public Expression getBaseExpression() Implements org. Doc from org. Returns the range variable declaration if this is a range declaration otherwise the collection-valued path expression when this is a collection member declaration.
| |
| getDeclarationExpression | back to summary |
|---|---|
| public Expression getDeclarationExpression() Implements org. Doc from org. Returns the declaration expression, which is either an
| |
| getIdentificationVariable | back to summary |
|---|---|
| public IdentificationVariable getIdentificationVariable() Returns the
| |
| getJoins | back to summary |
|---|---|
| public List Implements org. Doc from org. Returns the | |
| getRootPath | back to summary |
|---|---|
| public String getRootPath() Returns the "root" object for objects which may not be reachable by navigation, it is
either the abstract schema name (entity name), a derived path expression (which is only
defined in a subquery) or
| |
| getVariableName | back to summary |
|---|---|
| public String getVariableName() Implements org. Doc from org. Returns the identification variable name that is defining either the abstract schema name or the collection-valued path expression | |
| hasJoins | back to summary |
|---|---|
| public boolean hasJoins() Implements org. Doc from org. Determines whether the declaration contains JOIN expressions. This can be
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |