public abstract class BaseValue extends Object implements Value
Value.Type
Constructor and Description |
---|
BaseValue() |
Modifier and Type | Method and Description |
---|---|
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) |
boolean |
isNull() |
String |
toString() |
public boolean isNull()
public boolean getAsBoolean(LocaleContext ctx)
getAsBoolean
in interface Value
public String getAsString(LocaleContext ctx)
getAsString
in interface Value
public LocalDateTime getAsLocalDateTime(LocaleContext ctx)
getAsLocalDateTime
in interface Value
public Value getAsDateTimeValue(LocaleContext ctx)
Value
getAsDateTimeValue
in interface Value
public Integer getAsLongInt(LocaleContext ctx)
getAsLongInt
in interface Value
public Double getAsDouble(LocaleContext ctx)
getAsDouble
in interface Value
public BigDecimal getAsBigDecimal(LocaleContext ctx)
getAsBigDecimal
in interface Value
Copyright © 2005–2024 OpenHMS. All rights reserved.