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