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

public final Class StringPrimaryBNF

extends JPQLQueryBNF
Class Inheritance
Annotations
@SuppressWarnings:nls

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)
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
StringPrimaryBNF()

Creates a new StringPrimaryBNF.

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

StringPrimaryBNFback to summary
public StringPrimaryBNF()

Creates a new StringPrimaryBNF.

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