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