BNF: expression ::= NOT conditional_primary
NotExpression
| Modifier and Type | Field and Description |
|---|---|
| public static final String | STATE_OBJECT_PROPERTY
Notifies the state object property has changed. |
| private StateObject | stateObject
The |
| Access | Constructor and Description |
|---|---|
| public | NotExpressionStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | NotExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, StateObject nullThe stateObject)StateObject representing the negated expressionCreates a new |
| public | NotExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe portion of the JPQL query that follows jpqlFragment)NOT, which
will be parsed and converted into a StateObjectCreates 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.
|
| protected void | addChildren(List<StateObject>
The list used to store the children children)Overrides org. StateObject to the given list.
|
| public NotExpression | getExpression()
Overrides org. Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public StateObject | Returns: TheStateObject representing the negated expressionReturns the |
| public boolean | hasStateObject()
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 | parse(String
The portion of the query representing the negated expression jpqlFragment)Parses the given JPQL fragment, which represents the negated expression, and creates the
|
| public void | setExpression(NotExpression
The expression)parsed object representing a NOT
expressionKeeps a reference of the |
| public void | setStateObject(StateObject
The stateObject)StateObject representing the negated expressionSets the given |
| protected void | toTextInternal(Appendable
The writer used to print out the string representation writer)Implements abstract org. StateObject, which should not be used to
define a true string representation of a JPQL query but should be used for
debugging purposes.
|
| STATE_OBJECT_PROPERTY | back to summary |
|---|---|
| public static final String STATE_OBJECT_PROPERTY Notifies the state object property has changed. | |
| stateObject | back to summary |
|---|---|
| private StateObject stateObject The | |
| NotExpressionStateObject | back to summary |
|---|---|
| public NotExpressionStateObject(StateObject parent) Creates a new
| |
| NotExpressionStateObject | back to summary |
|---|---|
| public NotExpressionStateObject(StateObject parent, StateObject stateObject) Creates a new
| |
| NotExpressionStateObject | back to summary |
|---|---|
| public NotExpressionStateObject(StateObject parent, String jpqlFragment) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| 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 NotExpression getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| getStateObject | back to summary |
|---|---|
| public StateObject getStateObject() Returns the
| |
| hasStateObject | back to summary |
|---|---|
| public boolean hasStateObject() Determines whether the
| |
| isEquivalent | back to summary |
|---|---|
| public boolean isEquivalent(StateObject stateObject) Overrides org. Implements org. Doc from org. Determines whether the given
| |
| parse | back to summary |
|---|---|
| public void parse(String jpqlFragment) Parses the given JPQL fragment, which represents the negated expression, and creates the
| |
| setExpression | back to summary |
|---|---|
| public void setExpression(NotExpression expression) Keeps a reference of the
| |
| setStateObject | back to summary |
|---|---|
| public void setStateObject(StateObject stateObject) Sets the given
| |
| toTextInternal | back to summary |
|---|---|
| protected void toTextInternal(Appendable writer) throws IOException Implements abstract org. Doc from org. Prints out a string representation of this
| |