public interface Value
Value.Type.NULL
. Also note that all the
conversion methods will throw an EvalException
if the conversion is
not supported for the current value.Modifier and Type | Interface and Description |
---|---|
static class |
Value.Type
the types supported within the expression evaluation engine
|
Modifier and Type | Method and Description |
---|---|
Object |
get() |
BigDecimal |
getAsBigDecimal(LocaleContext ctx) |
boolean |
getAsBoolean(LocaleContext ctx) |
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.
|
Double |
getAsDouble(LocaleContext ctx) |
LocalDateTime |
getAsLocalDateTime(LocaleContext ctx) |
Integer |
getAsLongInt(LocaleContext ctx) |
String |
getAsString(LocaleContext ctx) |
Value.Type |
getType() |
boolean |
isNull() |
Value.Type getType()
Object get()
boolean isNull()
true
if this value represents a "Null" value,
false
otherwise.boolean getAsBoolean(LocaleContext ctx)
String getAsString(LocaleContext ctx)
LocalDateTime getAsLocalDateTime(LocaleContext ctx)
Value getAsDateTimeValue(LocaleContext ctx)
Integer getAsLongInt(LocaleContext ctx)
Double getAsDouble(LocaleContext ctx)
BigDecimal getAsBigDecimal(LocaleContext ctx)
Copyright © 2005–2024 OpenHMS. All rights reserved.