Class InternalWhenClauseBNF
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.JPQLQueryBNF
org.eclipse.persistence.jpa.jpql.parser.InternalWhenClauseBNF
The query BNF for the expression following the WHEN identifier.
BNF:
or
when_clause ::= WHEN conditional_expression THEN scalar_expression
BNF:
simple_when_clause ::= WHEN scalar_expression THEN scalar_expression
- Since:
- 2.3
- Version:
- 2.4
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
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 Details
-
ID
The unique identifier of this BNF rule.- See Also:
-
-
Constructor Details
-
InternalWhenClauseBNF
public InternalWhenClauseBNF()Creates a newInternalWhenClauseBNF
.
-
-
Method Details
-
initialize
protected void initialize()Description copied from class:JPQLQueryBNF
Initializes this BNF by registering childJPQLQueryBNFs
andExpressionFactories
.- Overrides:
initialize
in classJPQLQueryBNF
-