Class BigDecimalValue
- java.lang.Object
-
- com.healthmarketscience.jackcess.impl.expr.BaseValue
-
- com.healthmarketscience.jackcess.impl.expr.BaseNumericValue
-
- com.healthmarketscience.jackcess.impl.expr.BigDecimalValue
-
- All Implemented Interfaces:
Value
public class BigDecimalValue extends BaseNumericValue
- Author:
- James Ahlborn
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.healthmarketscience.jackcess.expr.Value
Value.Type
-
-
Constructor Summary
Constructors Constructor Description BigDecimalValue(BigDecimal val)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectget()BigDecimalgetAsBigDecimal(LocaleContext ctx)booleangetAsBoolean(LocaleContext ctx)StringgetAsString(LocaleContext ctx)Value.TypegetType()-
Methods inherited from class com.healthmarketscience.jackcess.impl.expr.BaseNumericValue
getAsDateTimeValue, getAsDouble, getAsLongInt
-
Methods inherited from class com.healthmarketscience.jackcess.impl.expr.BaseValue
getAsLocalDateTime, isNull, toString
-
-
-
-
Constructor Detail
-
BigDecimalValue
public BigDecimalValue(BigDecimal val)
-
-
Method Detail
-
getType
public Value.Type getType()
- Returns:
- the type of this value
-
get
public Object get()
- Returns:
- the raw primitive value
-
getAsBoolean
public boolean getAsBoolean(LocaleContext ctx)
- Specified by:
getAsBooleanin interfaceValue- Overrides:
getAsBooleanin classBaseValue- Returns:
- this primitive value converted to a boolean
-
getAsString
public String getAsString(LocaleContext ctx)
- Specified by:
getAsStringin interfaceValue- Overrides:
getAsStringin classBaseValue- Returns:
- this primitive value converted to a String
-
getAsBigDecimal
public BigDecimal getAsBigDecimal(LocaleContext ctx)
- Specified by:
getAsBigDecimalin interfaceValue- Overrides:
getAsBigDecimalin classBaseValue- Returns:
- this primitive value converted to a BigDecimal
-
-