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.ObjectgetBoxedValue()bytegetByte()intgetInt()longgetLong()longgetRaw()shortgetShort()java.lang.StringgetString()booleanisNull()Always returnsfalsefor non-nullable field.voidwriteInt(int value)voidwriteLong(long value)voidwriteNull()voidwriteString(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:
getLongin interfaceReadableValue- Overrides:
getLongin classValueBean- Throws:
NullValueException
-
getInt
public int getInt() throws NullValueException- Specified by:
getIntin interfaceReadableValue- Overrides:
getIntin classValueBean- Throws:
NullValueException
-
getShort
public short getShort() throws NullValueException- Specified by:
getShortin interfaceReadableValue- Overrides:
getShortin classValueBean- Throws:
NullValueException
-
getByte
public byte getByte() throws NullValueException- Specified by:
getBytein interfaceReadableValue- Overrides:
getBytein classValueBean- Throws:
NullValueException
-
writeLong
public void writeLong(long value)
- Specified by:
writeLongin interfaceWritableValue- Overrides:
writeLongin classValueBean
-
writeInt
public void writeInt(int value)
- Specified by:
writeIntin interfaceWritableValue- Overrides:
writeIntin classValueBean
-
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()
-
writeString
public void writeString(java.lang.CharSequence s)
-
getBoxedValue
protected java.lang.Object getBoxedValue()
- Specified by:
getBoxedValuein classValueBean
-
-