SystemVariable.getValue

Returns an Object representing the value of the system variable. The Java object type returned depends on the field type which can be obtained with method #getType(). Field types and their corresponding returned object types are as follows:
  • Boolean - returns a Boolean (Javascript boolean)
  • Character - returns a String (Javascript string)
  • Currency - returns a BigDecimal (Javascript number)
  • Date - returns a Long representing the number of milliseconds since 1st January 1970, where the time portion is initially set to 00:00 (Javascript number)
  • Datetime - returns a Long representing the number of milliseconds since 1st January 1970 (Javascript number)
  • Integer - returns a BigInteger (Javascript number)
  • Numeric - returns a BigDecimal (Javascript number)
  • Object - returns the object set using the setValue() method
  • Time - returns a Long representing the number of milliseconds since 1st January 1970, where the date portion is set to the current date (Javascript number)
Further documentation.

returns java.lang.Object