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() |
boolean |
getAsBoolean() |
Date |
getAsDateTime(EvalContext ctx) |
Double |
getAsDouble() |
Integer |
getAsLongInt() |
String |
getAsString() |
Value.Type |
getType() |
boolean |
isNull() |
Value.Type getType()
Object get()
boolean isNull()
true
if this value represents a "Null" value,
false
otherwise.boolean getAsBoolean()
String getAsString()
Date getAsDateTime(EvalContext ctx)
Integer getAsLongInt()
Double getAsDouble()
BigDecimal getAsBigDecimal()
Copyright © 2005–2018. All rights reserved.