public class LongValue extends BaseNumericValue
Value.Type
Modifier and Type | Method and Description |
---|---|
Object |
get() |
BigDecimal |
getAsBigDecimal(LocaleContext ctx) |
boolean |
getAsBoolean(LocaleContext ctx) |
Integer |
getAsLongInt(LocaleContext ctx) |
String |
getAsString(LocaleContext ctx) |
Value.Type |
getType() |
getAsDateTimeValue, getAsDouble
getAsLocalDateTime, isNull, toString
public LongValue(Integer val)
public Value.Type getType()
public Object get()
public boolean getAsBoolean(LocaleContext ctx)
getAsBoolean
in interface Value
getAsBoolean
in class BaseValue
public Integer getAsLongInt(LocaleContext ctx)
getAsLongInt
in interface Value
getAsLongInt
in class BaseNumericValue
public BigDecimal getAsBigDecimal(LocaleContext ctx)
getAsBigDecimal
in interface Value
getAsBigDecimal
in class BaseValue
public String getAsString(LocaleContext ctx)
getAsString
in interface Value
getAsString
in class BaseValue
Copyright © 2005–2024 OpenHMS. All rights reserved.