TRUE
and FALSE. Although predefined reserved literals appear in upper case, they are case
insensitive.
StringLiteral
| Access | Constructor and Description |
|---|---|
| public | StringLiteralStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | StringLiteralStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe string literal literal)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.
|
| public StringLiteral | getExpression()
Overrides org. Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public String | |
| public boolean | Returns: true if the literal is ended by a single quote; false otherwiseDetermines whether the closing quote was present or not. |
| public void | setExpression(StringLiteral
The expression)parsed object representing a string literalKeeps a reference of the |
| StringLiteralStateObject | back to summary |
|---|---|
| public StringLiteralStateObject(StateObject parent) Creates a new
| |
| StringLiteralStateObject | back to summary |
|---|---|
| public StringLiteralStateObject(StateObject parent, String literal) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| getExpression | back to summary |
|---|---|
| public StringLiteral getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| getUnquotedText | back to summary |
|---|---|
| public String getUnquotedText() Returns the string literal without the single quotes.
| |
| hasCloseQuote | back to summary |
|---|---|
| public boolean hasCloseQuote() Determines whether the closing quote was present or not.
| |
| setExpression | back to summary |
|---|---|
| public void setExpression(StringLiteral expression) Keeps a reference of the
| |