public abstract class DefaultValue extends Object implements com.sdl.delivery.configuration.Value
| Constructor and Description |
|---|
DefaultValue() |
| Modifier and Type | Method and Description |
|---|---|
BigDecimal |
asBigDecimal()
Get the value as a BigDecimal.
|
BigInteger |
asBigInteger()
Get the value as BigInteger.
|
boolean |
asBoolean()
Get the value as a boolean.
|
Calendar |
asDate()
Get the value as a date.
|
double |
asDouble()
Get the value as a double.
|
long |
asLong()
Get the value as a long.
|
String |
asString()
Get the value as a String.
|
boolean |
isNull()
Returns true if the value is null.
|
public boolean isNull()
com.sdl.delivery.configuration.ValueisNull in interface com.sdl.delivery.configuration.Valuepublic String asString()
com.sdl.delivery.configuration.ValueasString in interface com.sdl.delivery.configuration.Valuepublic boolean asBoolean()
com.sdl.delivery.configuration.ValueasBoolean in interface com.sdl.delivery.configuration.Valuepublic Calendar asDate()
com.sdl.delivery.configuration.ValueasDate in interface com.sdl.delivery.configuration.Valuepublic double asDouble()
com.sdl.delivery.configuration.ValueasDouble in interface com.sdl.delivery.configuration.Valuepublic long asLong()
com.sdl.delivery.configuration.ValueasLong in interface com.sdl.delivery.configuration.Valuepublic BigInteger asBigInteger()
com.sdl.delivery.configuration.ValueasBigInteger in interface com.sdl.delivery.configuration.Valuepublic BigDecimal asBigDecimal()
com.sdl.delivery.configuration.ValueasBigDecimal in interface com.sdl.delivery.configuration.ValueCopyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries