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

public final Class SimpleFromClause

extends AbstractFromClause
Class Inheritance

The FROM clause of a query defines the domain of the query by declaring identification variables. An identification variable is an identifier declared in the FROM clause of a query. The domain of the query may be constrained by path expressions. Identification variables designate instances of a particular entity abstract schema type. The FROM clause can contain multiple identification variable declarations separated by a comma (,).
BNF: subquery_from_clause ::= FROM subselect_identification_variable_declaration {, subselect_identification_variable_declaration}*
Author
Pascal Filion
Since
2.3
Version
2.5

Constructor Summary

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

Creates a new SimpleFromClause.

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 String
getDeclarationQueryBNFId()

Implements abstract org.eclipse.persistence.jpa.jpql.parser.AbstractFromClause.getDeclarationQueryBNFId.

Returns the BNF of the declaration part of this clause.
public JPQLQueryBNF
Inherited from org.eclipse.persistence.jpa.jpql.parser.AbstractFromClause:
acceptChildrenaddChildrenToaddOrderedChildrenTobuildCollectionExpressionfindQueryBNFgetActualIdentifiergetAsOfClausegetDeclarationgetHierarchicalQueryClausehasAsOfClausehasDeclarationhasHierarchicalQueryClausehasSpaceAfterDeclarationhasSpaceAfterFromhasSpaceAfterHierarchicalQueryClauseisParsingCompleteparseshouldParseWithFactoryFirsttoParsedText

Constructor Detail

SimpleFromClauseback to summary
public SimpleFromClause(AbstractExpression parent)

Creates a new SimpleFromClause.

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
getDeclarationQueryBNFIdback to summary
public String getDeclarationQueryBNFId()

Implements abstract org.eclipse.persistence.jpa.jpql.parser.AbstractFromClause.getDeclarationQueryBNFId.

Doc from org.eclipse.persistence.jpa.jpql.parser.AbstractFromClause.getDeclarationQueryBNFId.

Returns the BNF of the declaration part of this clause.

Returns:String

The BNF of the declaration part of this clause

Annotations
@Override
getQueryBNFback to summary
public JPQLQueryBNF 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