Appropriate suffixes may be used to indicate the specific type of a numeric literal in accordance with the Java Language Specification.
NumericLiteral
| Access | Constructor and Description |
|---|---|
| public | NumericLiteralStateObject(StateObject
The parent of this state object, which cannot be parent)nullCreates a new |
| public | NumericLiteralStateObject(StateObject
The parent of this state object, which cannot be parent, Number nullThe actual number numeric)Creates a new |
| public | NumericLiteralStateObject(StateObject
The parent of this state object, which cannot be parent, String nullThe string representation of the numeric literal numeric)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 NumericLiteral | getExpression()
Overrides org. Implements org. StateObject representation of the JPQL query
was created by parsing an existing JPQL query.
|
| public void | setExpression(NumericLiteral
The expression)parsed object representing a numeric literalKeeps a reference of the |
| NumericLiteralStateObject | back to summary |
|---|---|
| public NumericLiteralStateObject(StateObject parent) Creates a new
| |
| NumericLiteralStateObject | back to summary |
|---|---|
| public NumericLiteralStateObject(StateObject parent, Number numeric) Creates a new
| |
| NumericLiteralStateObject | back to summary |
|---|---|
| public NumericLiteralStateObject(StateObject parent, String numeric) Creates a new
| |
| accept | back to summary |
|---|---|
| public void accept(StateObjectVisitor visitor) Implements org. Doc from org. Visits this
| |
| getExpression | back to summary |
|---|---|
| public NumericLiteral getExpression() Overrides org. Implements org. Doc from org. Returns the actual parsed object if this
| |
| setExpression | back to summary |
|---|---|
| public void setExpression(NumericLiteral expression) Keeps a reference of the
| |