final class BooleanModelValue extends ModelValue
| Modifier and Type | Field and Description |
|---|---|
(package private) static BooleanModelValue |
FALSE |
private static byte[] |
FALSE_BYTES |
(package private) static BooleanModelValue |
TRUE |
private static byte[] |
TRUE_BYTES |
private boolean |
value |
UNDEFINED| Modifier | Constructor and Description |
|---|---|
private |
BooleanModelValue(boolean value) |
| Modifier and Type | Method and Description |
|---|---|
(package private) java.math.BigDecimal |
asBigDecimal() |
(package private) java.math.BigInteger |
asBigInteger() |
(package private) boolean |
asBoolean() |
(package private) boolean |
asBoolean(boolean defVal) |
(package private) byte[] |
asBytes() |
(package private) double |
asDouble() |
(package private) double |
asDouble(double defVal) |
(package private) ValueExpression |
asExpression() |
(package private) int |
asInt() |
(package private) int |
asInt(int defVal) |
(package private) long |
asLong() |
(package private) long |
asLong(long defVal) |
(package private) java.lang.String |
asString() |
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
(package private) static BooleanModelValue |
valueOf(boolean value) |
(package private) void |
writeExternal(java.io.DataOutput out) |
addChild, asList, asObject, asProperty, asPropertyList, asType, clone, copy, format, formatAsJSON, getChild, getChild, getKeys, getType, has, has, indent, insertChild, jsonEscape, protect, quote, removeChild, removeChild, requireChild, requireChild, resolve, toJSONString, toString, writeJSONString, writeStringprivate final boolean value
static final BooleanModelValue TRUE
static final BooleanModelValue FALSE
private static final byte[] TRUE_BYTES
private static final byte[] FALSE_BYTES
void writeExternal(java.io.DataOutput out)
throws java.io.IOException
writeExternal in class ModelValuejava.io.IOExceptionlong asLong()
asLong in class ModelValuelong asLong(long defVal)
asLong in class ModelValueint asInt()
asInt in class ModelValueint asInt(int defVal)
asInt in class ModelValueboolean asBoolean()
asBoolean in class ModelValueboolean asBoolean(boolean defVal)
asBoolean in class ModelValuedouble asDouble()
asDouble in class ModelValuedouble asDouble(double defVal)
asDouble in class ModelValuebyte[] asBytes()
asBytes in class ModelValuejava.math.BigDecimal asBigDecimal()
asBigDecimal in class ModelValuejava.math.BigInteger asBigInteger()
asBigInteger in class ModelValuejava.lang.String asString()
asString in class ModelValueValueExpression asExpression()
asExpression in class ModelValuestatic BooleanModelValue valueOf(boolean value)
public boolean equals(java.lang.Object other)
equals in class ModelValuepublic int hashCode()
hashCode in class ModelValue