NULL value.
BNF: null_comparison_expression ::= {single_valued_path_expression | input_parameter} IS [NOT] NULL
NullComparisonExpression
| Modifier and Type | Field and Description |
|---|---|
| private boolean | not
Determines whether the |
| public static final String | NOT_PROPERTY
Notifies the visibility of the |
| public static final String | STATE_OBJECT_PROPERTY
Notifies the state object property has changed. |
| private StateObject | stateObject
The |
| Access | Constructor and Description |
|---|---|
| public | NullComparisonExpressionStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | NullComparisonExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, boolean nullDetermines whether the not, StateObject NOT identifier is part of the expression
or notThe stateObject)StateObject representing the collection-valued path expressionCreates a new |
| public | NullComparisonExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, boolean nullDetermines whether the not, String NOT identifier is part of the expression
or notEither the singled-valued path expression or the input parameter path)Creates a new |
| public | NullComparisonExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, StateObject nullThe stateObject)StateObject representing the collection-valued path expressionCreates a new |
| public | NullComparisonExpressionStateObject(StateObject
The parent of this state object, which cannot be parent, String nullEither the singled-valued path expression or the input parameter path)Creates 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 NullComparisonExpressionStateObject | |
| public NullComparisonExpression | 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 collection-valued path expressionReturns the |
| public boolean | Returns: true if the NOT identifier is part of the expression;
false otherwiseDetermines whether the |
| public boolean | hasStateObject()
Determines whether there is a |
| 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.
|
| private void | |
| public void | |
| public void | setExpression(NullComparisonExpression
The expression)parsed object representing the null
expressionKeeps a reference of the |
| public void | setNot(boolean
true if the NOT identifier should be part of the
expression; false otherwiseSets whether the |
| public void | setStateObject(StateObject
The stateObject)StateObject that represents the collection-valued path expressionSets the given |
| public void | |
| 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.
|
| not | back to summary |
|---|---|
| private boolean not Determines whether the | |
| NOT_PROPERTY | back to summary |
|---|---|
| public static final String NOT_PROPERTY Notifies the visibility of the | |
| 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 | |
| NullComparisonExpressionStateObject | back to summary |
|---|---|
| public NullComparisonExpressionStateObject(StateObject parent) Creates a new
| |
| NullComparisonExpressionStateObject | back to summary |
|---|---|
| public NullComparisonExpressionStateObject(StateObject parent, boolean not, StateObject stateObject) Creates a new
| |
| NullComparisonExpressionStateObject | back to summary |
|---|---|
| public NullComparisonExpressionStateObject(StateObject parent, boolean not, String path) Creates a new
| |
| NullComparisonExpressionStateObject | back to summary |
|---|---|
| public NullComparisonExpressionStateObject(StateObject parent, StateObject stateObject) Creates a new
| |
| NullComparisonExpressionStateObject | back to summary |
|---|---|
| public NullComparisonExpressionStateObject(StateObject parent, String path) 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
| |
| addNot | back to summary |
|---|---|
| public NullComparisonExpressionStateObject addNot() Makes sure the
| |
| getExpression | back to summary |
|---|---|
| public NullComparisonExpression getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| getStateObject | back to summary |
|---|---|
| public StateObject getStateObject() Returns the
| |
| hasNot | back to summary |
|---|---|
| public boolean hasNot() Determines whether the
| |
| hasStateObject | back to summary |
|---|---|
| public boolean hasStateObject() Determines whether there is a
| |
| isEquivalent | back to summary |
|---|---|
| public boolean isEquivalent(StateObject stateObject) Overrides org. Implements org. Doc from org. Determines whether the given
| |
| parse | back to summary |
|---|---|
| private void parse(String path) Parses the given singled-valued path expression or input parameter.
| |
| removeNot | back to summary |
|---|---|
| public void removeNot() Makes sure the | |
| setExpression | back to summary |
|---|---|
| public void setExpression(NullComparisonExpression expression) Keeps a reference of the
| |
| setNot | back to summary |
|---|---|
| public void setNot(boolean not) Sets whether the
| |
| setStateObject | back to summary |
|---|---|
| public void setStateObject(StateObject stateObject) Sets the given
| |
| toggleNot | back to summary |
|---|---|
| public void toggleNot() Changes the visibility state of the | |
| toTextInternal | back to summary |
|---|---|
| protected void toTextInternal(Appendable writer) throws IOException Implements abstract org. Doc from org. Prints out a string representation of this
| |