All Implemented Interfaces:
StateObject

public class NumericLiteralStateObject extends SimpleStateObject
Exact numeric literals support the use of Java integer literal syntax as well as SQL exact numeric literal syntax. Approximate literals support the use of Java floating point literal syntax as well as SQL approximate numeric literal syntax.

Appropriate suffixes may be used to indicate the specific type of a numeric literal in accordance with the Java Language Specification.

Since:
2.4
Version:
2.4
See Also:
  • Constructor Details

    • NumericLiteralStateObject

      public NumericLiteralStateObject(StateObject parent)
      Creates a new NumericLiteralStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      Throws:
      NullPointerException - The given parent cannot be null
    • NumericLiteralStateObject

      public NumericLiteralStateObject(StateObject parent, Number numeric)
      Creates a new NumericLiteralStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      numeric - The actual number
      Throws:
      NullPointerException - The given parent cannot be null
    • NumericLiteralStateObject

      public NumericLiteralStateObject(StateObject parent, String numeric)
      Creates a new NumericLiteralStateObject.
      Parameters:
      parent - The parent of this state object, which cannot be null
      numeric - The string representation of the numeric literal
      Throws:
      NullPointerException - The given parent cannot be null
  • Method Details