public class BooleanValue extends DefaultValue
Note: this is example code only, a version of this class may be be included in the common config module at some point in the future.
Constructor and Description |
---|
BooleanValue(boolean value) |
Modifier and Type | Method and Description |
---|---|
boolean |
asBoolean()
Get the value as a boolean.
|
String |
asString()
Get the value as a String.
|
boolean |
equals(Object o) |
int |
hashCode() |
asBigDecimal, asBigInteger, asDate, asDouble, asLong, isNull
public boolean asBoolean()
com.sdl.delivery.configuration.Value
asBoolean
in interface com.sdl.delivery.configuration.Value
asBoolean
in class DefaultValue
public String asString()
com.sdl.delivery.configuration.Value
asString
in interface com.sdl.delivery.configuration.Value
asString
in class DefaultValue
Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries