Package deltix.qsrv.hf.pub.values
Class BooleanValueBean
- java.lang.Object
-
- deltix.qsrv.hf.pub.values.ValueBean
-
- deltix.qsrv.hf.pub.values.BooleanValueBean
-
- All Implemented Interfaces:
ReadableValue
,WritableValue
,java.io.Serializable
public final class BooleanValueBean extends ValueBean
Holds a BOOLEAN value.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BooleanValueBean(VarcharDataType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getBoolean()
protected java.lang.Object
getBoxedValue()
byte
getByte()
int
getRaw()
java.lang.String
getString()
boolean
isNull()
Always returnsfalse
for non-nullable field.void
writeBoolean(boolean value)
void
writeNull()
void
writeString(java.lang.CharSequence value)
-
Methods inherited from class deltix.qsrv.hf.pub.values.ValueBean
checkNotNull, forType, getArrayLength, getBinary, getBinary, getBinaryLength, getChar, getDouble, getFieldDecoder, getFieldEncoder, getFloat, getInt, getLong, getShort, nextReadableElement, nextWritableElement, openBinary, setArrayLength, toString, writeBinary, writeChar, writeDouble, writeFloat, writeInt, writeLong
-
-
-
-
Constructor Detail
-
BooleanValueBean
public BooleanValueBean(VarcharDataType type)
-
-
Method Detail
-
getRaw
public int getRaw()
-
getBoolean
public boolean getBoolean() throws NullValueException
- Specified by:
getBoolean
in interfaceReadableValue
- Overrides:
getBoolean
in classValueBean
- Throws:
NullValueException
-
getByte
public byte getByte() throws NullValueException
- Specified by:
getByte
in interfaceReadableValue
- Overrides:
getByte
in classValueBean
- Throws:
NullValueException
-
getString
public java.lang.String getString() throws NullValueException
- Throws:
NullValueException
-
isNull
public boolean isNull()
Description copied from interface:ReadableValue
Always returnsfalse
for non-nullable field.
-
writeNull
public void writeNull()
-
writeBoolean
public void writeBoolean(boolean value)
- Specified by:
writeBoolean
in interfaceWritableValue
- Overrides:
writeBoolean
in classValueBean
-
writeString
public void writeString(java.lang.CharSequence value)
-
getBoxedValue
protected java.lang.Object getBoxedValue()
- Specified by:
getBoxedValue
in classValueBean
-
-