Package deltix.qsrv.hf.codec.cg
Class QBIntegerType
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QBoundType<T>
-
- deltix.qsrv.hf.codec.cg.QBNumericType<QIntegerType>
-
- deltix.qsrv.hf.codec.cg.QBIntegerType
-
public class QBIntegerType extends QBNumericType<QIntegerType>
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.codec.cg.QBoundType
accessor, javaBaseType, qType
-
-
Constructor Summary
Constructors Constructor Description QBIntegerType(QIntegerType qType, java.lang.Class<?> javaType, QAccessor accessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
decode(JExpr input, JCompoundStatement addTo)
void
encode(JExpr output, JCompoundStatement addTo)
JExpr
getNullLiteral()
boolean
hasConstraint()
protected JExpr
makeConstantExpr(java.lang.Object obj)
JExpr
readIsConstraintViolated()
-
Methods inherited from class deltix.qsrv.hf.codec.cg.QBoundType
getEncodeValue, getJavaBaseType, getJavaClass, getLiteral, getNullLiteralImpl, hasNullLiteral, hasNullLiteralImpl, move, readIsNull, readIsNullImpl, writeNull, writeObject
-
-
-
-
Constructor Detail
-
QBIntegerType
public QBIntegerType(QIntegerType qType, java.lang.Class<?> javaType, QAccessor accessor)
-
-
Method Detail
-
decode
public void decode(JExpr input, JCompoundStatement addTo)
- Overrides:
decode
in classQBoundType<QIntegerType>
-
encode
public void encode(JExpr output, JCompoundStatement addTo)
- Overrides:
encode
in classQBoundType<QIntegerType>
-
getNullLiteral
public JExpr getNullLiteral()
- Overrides:
getNullLiteral
in classQBoundType<QIntegerType>
-
makeConstantExpr
protected JExpr makeConstantExpr(java.lang.Object obj)
- Overrides:
makeConstantExpr
in classQBoundType<QIntegerType>
-
hasConstraint
public boolean hasConstraint()
- Overrides:
hasConstraint
in classQBoundType<QIntegerType>
-
readIsConstraintViolated
public JExpr readIsConstraintViolated()
- Overrides:
readIsConstraintViolated
in classQBNumericType<QIntegerType>
-
-