EclipseLink 2.4.2, build 'v20130514-5956486' API Reference

org.eclipse.persistence.jpa.jpql.parser
Class ScalarExpressionBNF

java.lang.Object
  extended by org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
      extended by org.eclipse.persistence.jpa.jpql.parser.ScalarExpressionBNF

public final class ScalarExpressionBNF
extends JPQLQueryBNF

The query BNF for a scalar expression.

JPA 1.0:

BNF: scalar_expression ::= simple_arithmetic_expression | string_primary | enum_primary | datetime_primary | boolean_primary

JPA 2.0

BNF: scalar_expression ::= simple_arithmetic_expression | string_primary | enum_primary | datetime_primary | boolean_primary | case_expression | entity_type_expression

Version:
2.4.2
Author:
Pascal Filion
Since:
2.3

Field Summary
static java.lang.String ID
          The unique identifier of this BNF rule.
 
Constructor Summary
ScalarExpressionBNF()
          Creates a new SelectExpressionBNF.
 
Method Summary
protected  void initialize()
          Initializes this BNF by registering child JPQLQueryBNFs and ExpressionFactories.
 
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
children, getExpressionFactory, getExpressionFactoryIds, getExpressionRegistry, getFallbackBNFId, getFallbackExpressionFactoryId, getId, getIdentifiers, handleAggregate, handleCollection, handlesSubExpression, hasIdentifier, isCompound, nonCompoundChildren, registerChild, registerExpressionFactory, setCompound, setFallbackBNFId, setFallbackExpressionFactoryId, setHandleAggregate, setHandleCollection, setHandleSubExpression, toString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
The unique identifier of this BNF rule.

See Also:
Constant Field Values
Constructor Detail

ScalarExpressionBNF

public ScalarExpressionBNF()
Creates a new SelectExpressionBNF.

Method Detail

initialize

protected void initialize()
Initializes this BNF by registering child JPQLQueryBNFs and ExpressionFactories.

Overrides:
initialize in class JPQLQueryBNF

EclipseLink 2.4.2, build 'v20130514-5956486' API Reference