BNF: expression ::= (sub_expression)
SubExpression
| Modifier and Type | Field and Description |
|---|---|
| private String | queryBNFId
The unique identifier of the |
| Access | Constructor and Description |
|---|---|
| public | SubExpressionStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | SubExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, StateObject nullThe stateObject)StateObject representing the encapsulated expressionCreates a new |
| public | SubExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe portion of the query representing the encapsulated expression jpqlFragment, String The unique identifier of the queryBNFId). that is used to parse the encapsulated expressionCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(StateObjectVisitor
The visitor)visitor to visit this objectImplements org. StateObject by the given visitor.
|
| public SubExpression | getExpression()
Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public String | getIdentifier()
Implements abstract org. AbstractSingleEncapsulatedExpressionStateObject.
|
| protected String | getQueryBNFId()
Implements abstract org. JPQLQueryBNF that will determine how to parse the encapsulated expression.
|
| public void | setExpression(SubExpression
The expression)parsed object representing an encapsulated
expressionKeeps a reference of the |
| public void | setQueryBNFId(String
The non- queryBNFId)null ID of the BNFSets the unique identifier of the |
| public void | setStateObject(StateObject
The new encapsulated stateObject)
Sets the given StateObjectStateObject to represent the new encapsulated expression.
|
| queryBNFId | back to summary |
|---|---|
| private String queryBNFId The unique identifier of the | |
| SubExpressionStateObject | back to summary |
|---|---|
| public SubExpressionStateObject(StateObject parent) Creates a new
| |
| SubExpressionStateObject | back to summary |
|---|---|
| public SubExpressionStateObject(StateObject parent, StateObject stateObject) Creates a new
| |
| SubExpressionStateObject | back to summary |
|---|---|
| public SubExpressionStateObject(StateObject parent, String jpqlFragment, String queryBNFId) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| getExpression | back to summary |
|---|---|
| public SubExpression getExpression() Implements org. Doc from org. Returns the actual parsed object if this
| |
| getIdentifier | back to summary |
|---|---|
| public String getIdentifier() Implements abstract org. Returns the JPQL identifier of the expression represented by this | |
| getQueryBNFId | back to summary |
|---|---|
| protected String getQueryBNFId() Implements abstract org. Returns the unique identifier of the | |
| setExpression | back to summary |
|---|---|
| public void setExpression(SubExpression expression) Keeps a reference of the
| |
| setQueryBNFId | back to summary |
|---|---|
| public void setQueryBNFId(String queryBNFId) Sets the unique identifier of the
| |
| setStateObject | back to summary |
|---|---|
| public void setStateObject(StateObject stateObject) Sets the given
| |