BNF: expression ::= <identifier>(first_expression, second_expression, third_expression)
LocateExpressionStateObject, SubstringExpressionStateObject, AbstractTripleEncapsulatedExpression
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FIRST_STATE_OBJECT_PROPERTY
Notifies the first |
| private StateObject | firstStateObject
The |
| public static final String | SECOND_STATE_OBJECT_PROPERTY
Notifies the second |
| private StateObject | secondStateObject
The |
| public static final String | THIRD_STATE_OBJECT_PROPERTY
Notifies the third |
| private StateObject | thirdStateObject
The |
| Access | Constructor and Description |
|---|---|
| protected | AbstractTripleEncapsulatedExpressionStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| protected | AbstractTripleEncapsulatedExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, StateObject nullThe firstStateObject, StateObject StateObject of the first encapsulated expressionThe secondStateObject, StateObject StateObject of the second encapsulated expressionThe thirdStateObject)StateObject of the third encapsulated expressionCreates a new |
| protected | AbstractTripleEncapsulatedExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe string representation of the first encapsulated expression to
parse and to convert into a firstJpqlFragment, String StateObject representationThe string representation of the second encapsulated expression to
parse and to convert into a secondJpqlFragment, String StateObject representationThe string representation of the third encapsulated expression to
parse and to convert into a thirdJpqlFragment)StateObject representationCreates a new |
| Modifier and Type | Method and Description |
|---|---|
| protected void | addChildren(List<StateObject>
The list used to store the children children)Overrides org. StateObject to the given list.
|
| public AbstractTripleEncapsulatedExpression | getExpression()
Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public StateObject | |
| protected abstract String | Returns: The query BNF ID for the first encapsulated expressionReturns the unique identifier of the BNF that will be used to parse a JPQL fragment as the first encapsulated expression. |
| public StateObject | |
| protected abstract String | Returns: The query BNF ID for the second encapsulated expressionReturns the unique identifier of the BNF that will be used to parse a JPQL fragment as the second encapsulated expression. |
| public StateObject | |
| protected abstract String | Returns: The query BNF ID for the third encapsulated expressionReturns the unique identifier of the BNF that will be used to parse a JPQL fragment as the third encapsulated expression. |
| public boolean | hasFirst()
Determines whether the |
| public boolean | hasSecond()
Determines whether the |
| public boolean | hasThird()
Determines whether the |
| public boolean | isEquivalent(StateObject
The stateObject)StateObject to compare its content to this oneOverrides org. Implements org. StateObject is equivalent to this one, i.e. the
information of both StateObject is the same.
|
| public void | parseFirst(String
The string representation of the first encapsulated expression to parse and
to convert into a jpqlFragment)StateObject representationParses the given JPQL fragment, which will represent the first encapsulated expression. |
| public void | parseSecond(String
The string representation of the second encapsulated expression to parse and
to convert into a jpqlFragment)StateObject representationParses the given JPQL fragment, which will represent the second encapsulated expression. |
| public void | parseThird(String
The string representation of the third encapsulated expression to parse and
to convert into a jpqlFragment)StateObject representationParses the given JPQL fragment, which will represent the third encapsulated expression. |
| public void | setFirst(StateObject
The new encapsulated firstStateObject)StateObject representing the first
expressionSets the given |
| public void | setSecond(StateObject
The new encapsulated secondStateObject)StateObject representing the second
expressionSets the given |
| public void | setThird(StateObject
The new encapsulated thirdStateObject)StateObject representing the third
expressionSets the given |
| protected void | toTextEncapsulatedExpression(Appendable
The writer used to print out the string representation of the encapsulated
information writer)Implements abstract org. true string representation of a JPQL query but should be used for
debugging purposes.
|
| FIRST_STATE_OBJECT_PROPERTY | back to summary |
|---|---|
| public static final String FIRST_STATE_OBJECT_PROPERTY Notifies the first | |
| firstStateObject | back to summary |
|---|---|
| private StateObject firstStateObject The | |
| SECOND_STATE_OBJECT_PROPERTY | back to summary |
|---|---|
| public static final String SECOND_STATE_OBJECT_PROPERTY Notifies the second | |
| secondStateObject | back to summary |
|---|---|
| private StateObject secondStateObject The | |
| THIRD_STATE_OBJECT_PROPERTY | back to summary |
|---|---|
| public static final String THIRD_STATE_OBJECT_PROPERTY Notifies the third | |
| thirdStateObject | back to summary |
|---|---|
| private StateObject thirdStateObject The | |
| AbstractTripleEncapsulatedExpressionStateObject | back to summary |
|---|---|
| protected AbstractTripleEncapsulatedExpressionStateObject(StateObject parent) Creates a new
| |
| AbstractTripleEncapsulatedExpressionStateObject | back to summary |
|---|---|
| protected AbstractTripleEncapsulatedExpressionStateObject(StateObject parent, StateObject firstStateObject, StateObject secondStateObject, StateObject thirdStateObject) Creates a new
| |
| AbstractTripleEncapsulatedExpressionStateObject | back to summary |
|---|---|
| protected AbstractTripleEncapsulatedExpressionStateObject(StateObject parent, String firstJpqlFragment, String secondJpqlFragment, String thirdJpqlFragment) Creates a new
| |
| addChildren | back to summary |
|---|---|
| protected void addChildren(List<StateObject> children) Overrides org. Doc from org. Adds the children of this
| |
| getExpression | back to summary |
|---|---|
| public AbstractTripleEncapsulatedExpression getExpression() Implements org. Doc from org. Returns the actual parsed object if this
| |
| getFirst | back to summary |
|---|---|
| public StateObject getFirst() Returns the
| |
| getFirstQueryBNFId | back to summary |
|---|---|
| protected abstract String getFirstQueryBNFId() Returns the unique identifier of the BNF that will be used to parse a JPQL fragment as the first encapsulated expression.
| |
| getSecond | back to summary |
|---|---|
| public StateObject getSecond() Returns the
| |
| getSecondQueryBNFId | back to summary |
|---|---|
| protected abstract String getSecondQueryBNFId() Returns the unique identifier of the BNF that will be used to parse a JPQL fragment as the second encapsulated expression.
| |
| getThird | back to summary |
|---|---|
| public StateObject getThird() Returns the
| |
| getThirdQueryBNFId | back to summary |
|---|---|
| protected abstract String getThirdQueryBNFId() Returns the unique identifier of the BNF that will be used to parse a JPQL fragment as the third encapsulated expression.
| |
| hasFirst | back to summary |
|---|---|
| public boolean hasFirst() Determines whether the
| |
| hasSecond | back to summary |
|---|---|
| public boolean hasSecond() Determines whether the
| |
| hasThird | back to summary |
|---|---|
| public boolean hasThird() Determines whether the
| |
| isEquivalent | back to summary |
|---|---|
| public boolean isEquivalent(StateObject stateObject) Overrides org. Implements org. Doc from org. Determines whether the given
| |
| parseFirst | back to summary |
|---|---|
| public void parseFirst(String jpqlFragment) Parses the given JPQL fragment, which will represent the first encapsulated expression.
| |
| parseSecond | back to summary |
|---|---|
| public void parseSecond(String jpqlFragment) Parses the given JPQL fragment, which will represent the second encapsulated expression.
| |
| parseThird | back to summary |
|---|---|
| public void parseThird(String jpqlFragment) Parses the given JPQL fragment, which will represent the third encapsulated expression.
| |
| setFirst | back to summary |
|---|---|
| public void setFirst(StateObject firstStateObject) Sets the given
| |
| setSecond | back to summary |
|---|---|
| public void setSecond(StateObject secondStateObject) Sets the given
| |
| setThird | back to summary |
|---|---|
| public void setThird(StateObject thirdStateObject) Sets the given
| |
| toTextEncapsulatedExpression | back to summary |
|---|---|
| protected void toTextEncapsulatedExpression(Appendable writer) throws IOException Implements abstract org. Prints out a string representation of this encapsulated information, which should not be used
to define a
| |