Class StringPrimaryBNF
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
-
- org.eclipse.persistence.jpa.jpql.parser.StringPrimaryBNF
-
public final class StringPrimaryBNF extends JPQLQueryBNF
The query BNF for a string primary expression.JPA 1.0:
BNF:string_primary ::= state_field_path_expression | string_literal | input_parameter | functions_returning_strings | aggregate_expression
JPA 2.0:
BNF:string_primary ::= state_field_path_expression | string_literal | input_parameter | functions_returning_strings | aggregate_expression | case_expression
JPA 2.1: string_primary becomes string_expression
BNF:string_primary ::= state_field_path_expression | string_literal | input_parameter | functions_returning_strings | aggregate_expression | case_expression | function_invocation | (subquery)
- Version:
- 2.5
- Author:
- Pascal Filion
- Since:
- 2.3
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ID
The unique identifier of this BNF rule.
-
Constructor Summary
Constructors Constructor Description StringPrimaryBNF()
Creates a newStringPrimaryBNF
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
initialize()
Initializes this BNF by registering childJPQLQueryBNFs
andExpressionFactories
.-
Methods inherited from class org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
children, getExpressionFactory, getExpressionFactoryIds, getExpressionRegistry, getFallbackBNFId, getFallbackExpressionFactoryId, getId, getIdentifiers, handleAggregate, handleCollection, handlesNestedArray, handleSubExpression, hasChild, hasIdentifier, isCompound, nonCompoundChildren, registerChild, registerExpressionFactory, setCompound, setFallbackBNFId, setFallbackExpressionFactoryId, setHandleAggregate, setHandleCollection, setHandleNestedArray, setHandleSubExpression, toString, toString
-
-
-
-
Field Detail
-
ID
public static final java.lang.String ID
The unique identifier of this BNF rule.- See Also:
- Constant Field Values
-
-
Method Detail
-
initialize
protected void initialize()
Initializes this BNF by registering childJPQLQueryBNFs
andExpressionFactories
.- Overrides:
initialize
in classJPQLQueryBNF
-
-