Top Description Constructors Methods
org.eclipse.persistence.jpa.jpql.parser

public final Class ObjectExpression

extends EncapsulatedIdentificationVariableExpression
Class Inheritance

Stand-alone identification variables in the 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)
Author
Pascal Filion
Since
2.3
Version
2.5

Constructor Summary

AccessConstructor and Description
public
ObjectExpression(AbstractExpression
The parent of this expression
parent
)

Creates a new ObjectExpression.

Method Summary

Modifier and TypeMethod and Description
public void
accept(ExpressionVisitor
The ExpressionVisitor to visit this object
visitor
)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.
public JPQLQueryBNF
Inherited from org.eclipse.persistence.jpa.jpql.parser.EncapsulatedIdentificationVariableExpression:
getEncapsulatedExpressionQueryBNFIdparse

Constructor Detail

ObjectExpressionback to summary
public ObjectExpression(AbstractExpression parent)

Creates a new ObjectExpression.

Parameters
parent:AbstractExpression

The parent of this expression

Method Detail

acceptback to summary
public void accept(ExpressionVisitor visitor)

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.accept.

Visits this Expression by the given visitor.

Parameters
visitor:ExpressionVisitor

The ExpressionVisitor to visit this object

Annotations
@Override
getQueryBNFback to summary
public JPQLQueryBNF getQueryBNF()

Overrides org.eclipse.persistence.jpa.jpql.parser.EncapsulatedIdentificationVariableExpression.getQueryBNF.

Implements org.eclipse.persistence.jpa.jpql.parser.Expression.getQueryBNF.

Doc from org.eclipse.persistence.jpa.jpql.parser.Expression.getQueryBNF.

Returns the BNF of this Expression.

Returns:JPQLQueryBNF

The JPQLQueryBNF, which represents the grammar of this Expression

Annotations
@Override