Interface Value

    • Method Detail

      • getType

        Value.Type getType()
        Returns:
        the type of this value
      • get

        Object get()
        Returns:
        the raw primitive value
      • isNull

        boolean isNull()
        Returns:
        true if this value represents a "Null" value, false otherwise.
      • getAsBoolean

        boolean getAsBoolean​(LocaleContext ctx)
        Returns:
        this primitive value converted to a boolean
      • getAsString

        String getAsString​(LocaleContext ctx)
        Returns:
        this primitive value converted to a String
      • getAsLocalDateTime

        LocalDateTime getAsLocalDateTime​(LocaleContext ctx)
        Returns:
        this primitive value converted to a LocalDateTime
      • getAsDateTimeValue

        Value getAsDateTimeValue​(LocaleContext ctx)
        Since date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information.
        Returns:
        this value converted to a date/time value
      • getAsLongInt

        Integer getAsLongInt​(LocaleContext ctx)
        Returns:
        this primitive value converted (rounded) to an int
      • getAsDouble

        Double getAsDouble​(LocaleContext ctx)
        Returns:
        this primitive value converted (rounded) to a double
      • getAsBigDecimal

        BigDecimal getAsBigDecimal​(LocaleContext ctx)
        Returns:
        this primitive value converted to a BigDecimal