Class BaseDelayedValue

  • All Implemented Interfaces:
    Value

    public abstract class BaseDelayedValue
    extends Object
    implements Value
    Author:
    James Ahlborn
    • Method Detail

      • isNull

        public boolean isNull()
        Specified by:
        isNull in interface Value
        Returns:
        true if this value represents a "Null" value, false otherwise.
      • getType

        public Value.Type getType()
        Specified by:
        getType in interface Value
        Returns:
        the type of this value
      • get

        public Object get()
        Specified by:
        get in interface Value
        Returns:
        the raw primitive value
      • getAsBoolean

        public boolean getAsBoolean​(LocaleContext ctx)
        Specified by:
        getAsBoolean in interface Value
        Returns:
        this primitive value converted to a boolean
      • getAsDateTimeValue

        public Value getAsDateTimeValue​(LocaleContext ctx)
        Description copied from interface: Value
        Since date/time values have different types, it may be more convenient to get the date/time primitive value with the appropriate type information.
        Specified by:
        getAsDateTimeValue in interface Value
        Returns:
        this value converted to a date/time value