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 booleangetBoolean()protected java.lang.ObjectgetBoxedValue()bytegetByte()intgetRaw()java.lang.StringgetString()booleanisNull()Always returnsfalsefor non-nullable field.voidwriteBoolean(boolean value)voidwriteNull()voidwriteString(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:
getBooleanin interfaceReadableValue- Overrides:
getBooleanin classValueBean- Throws:
NullValueException
-
getByte
public byte getByte() throws NullValueException- Specified by:
getBytein interfaceReadableValue- Overrides:
getBytein classValueBean- Throws:
NullValueException
-
getString
public java.lang.String getString() throws NullValueException- Throws:
NullValueException
-
isNull
public boolean isNull()
Description copied from interface:ReadableValueAlways returnsfalsefor non-nullable field.
-
writeNull
public void writeNull()
-
writeBoolean
public void writeBoolean(boolean value)
- Specified by:
writeBooleanin interfaceWritableValue- Overrides:
writeBooleanin classValueBean
-
writeString
public void writeString(java.lang.CharSequence value)
-
getBoxedValue
protected java.lang.Object getBoxedValue()
- Specified by:
getBoxedValuein classValueBean
-
-