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

public final Class ArithmeticPrimaryBNF

extends JPQLQueryBNF
Class Inheritance
Annotations
@SuppressWarnings:nls

The query BNF for an arithmetic primary expression.

JPA 1.0

BNF: arithmetic_primary ::= state_field_path_expression | numeric_literal | (simple_arithmetic_expression) | input_parameter | functions_returning_numerics | aggregate_expression
JPA 2.0:
BNF: arithmetic_primary ::= state_field_path_expression | numeric_literal | (simple_arithmetic_expression) | input_parameter | functions_returning_numerics | aggregate_expression | case_expression
JPA 2.1:
BNF: arithmetic_primary ::= state_field_path_expression | numeric_literal | (arithmetic_expression) | input_parameter | functions_returning_numerics | aggregate_expression | case_expression | function_invocation | (subquery)
Author
Pascal Filion
Since
2.3
Version
2.5

Field Summary

Modifier and TypeField and Description
public static final String
ID

The unique identifier of this BNF rule.

Constructor Summary

AccessConstructor and Description
public
ArithmeticPrimaryBNF()

Creates a new ArithmeticPrimaryBNF.

Method Summary

Modifier and TypeMethod and Description
protected void
Inherited from org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF:
childrengetExpressionFactorygetExpressionFactoryIdsgetExpressionRegistrygetFallbackBNFIdgetFallbackExpressionFactoryIdgetIdgetIdentifiershandleAggregatehandleCollectionhandlesNestedArrayhandleSubExpressionhasChildhasIdentifierisCompoundnonCompoundChildrenregisterChildregisterExpressionFactorysetCompoundsetExpressionRegistrysetFallbackBNFIdsetFallbackExpressionFactoryIdsetHandleAggregatesetHandleCollectionsetHandleNestedArraysetHandleSubExpressiontoStringtoString

Field Detail

IDback to summary
public static final String ID

The unique identifier of this BNF rule.

Constructor Detail

ArithmeticPrimaryBNFback to summary
public ArithmeticPrimaryBNF()

Creates a new ArithmeticPrimaryBNF.

Method Detail

initializeback to summary
protected void initialize()

Overrides org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF.initialize.

Doc from org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF.initialize.

Initializes this BNF by registering child JPQLQueryBNFs and ExpressionFactories.

Annotations
@Override