SELECT clause may optionally be
qualified by the OBJECT operator. The SELECT clause must
not use the OBJECT operator to qualify path expressions.
BNF: expression ::= OBJECT(identification_variable)
ObjectExpression
| Access | Constructor and Description |
|---|---|
| public | ObjectExpressionStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | ObjectExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe name of the identification variable identificationVariable)Creates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(StateObjectVisitor
The visitor)visitor to visit this objectImplements org. StateObject by the given visitor.
|
| protected void | addProblems(List<Problem>
The list to which the problems are added problems)Overrides org. StateObject, which means there are validation issues.
|
| public ObjectExpression | getExpression()
Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public String | getIdentifier()
Implements abstract org. AbstractSingleEncapsulatedExpressionStateObject.
|
| public void | setExpression(ObjectExpression
The expression)parsed object representing an OBJECT
expressionKeeps a reference of the |
| ObjectExpressionStateObject | back to summary |
|---|---|
| public ObjectExpressionStateObject(StateObject parent) Creates a new
| |
| ObjectExpressionStateObject | back to summary |
|---|---|
| public ObjectExpressionStateObject(StateObject parent, String identificationVariable) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| addProblems | back to summary |
|---|---|
| protected void addProblems(List<Problem> problems) Overrides org. Doc from org. Adds to the given list the problems that were found with the current state of this | |
| getExpression | back to summary |
|---|---|
| public ObjectExpression getExpression() Implements org. Doc from org. Returns the actual parsed object if this
| |
| getIdentifier | back to summary |
|---|---|
| public String getIdentifier() Implements abstract org. Returns the JPQL identifier of the expression represented by this | |
| setExpression | back to summary |
|---|---|
| public void setExpression(ObjectExpression expression) Keeps a reference of the
| |