JPQLQueryBNF can be used as a virtual BNF, which can wrap another BNF or BNFs and
modify the default behavior.
The unique identifier for this BNF is automatically generated and can be retrieved with
VirtualJPQLQueryBNF#getId().
Once this BNF is no longer needed, dispose() needs to be called.
| Access | Constructor and Description |
|---|---|
| public | VirtualJPQLQueryBNF(JPQLGrammar
The jpqlGrammar)JPQLGrammar to integrate this virtual query BNFCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private void | |
| public void | registerFactory(String
The unique identifier that is responsible to create the
expressionFactoryId)Expression for this BNF ruleRegisters a unique identifier that will be used to create the |
| public void | registerQueryBNF(String
The unique identifier of the BNF rule queryBNFId)Registers the unique identifier of the BNF rule as a child of this BNF rule. |
| r | back to summary |
|---|---|
| private static final Random r | |
| VirtualJPQLQueryBNF | back to summary |
|---|---|
| public VirtualJPQLQueryBNF(JPQLGrammar jpqlGrammar) Creates a new
| |
| dispose | back to summary |
|---|---|
| public void dispose() Disposes this "virtual" query BNF. | |
| initialize | back to summary |
|---|---|
| private void initialize(JPQLGrammar jpqlGrammar) | |
| registerFactory | back to summary |
|---|---|
| public void registerFactory(String expressionFactoryId) Registers a unique identifier that will be used to create the
| |
| registerQueryBNF | back to summary |
|---|---|
| public void registerQueryBNF(String queryBNFId) Registers the unique identifier of the BNF rule as a child of this BNF rule.
| |