Package deltix.qsrv.hf.codec.cg
Class QBEnumType
- java.lang.Object
-
- deltix.qsrv.hf.codec.cg.QBoundType<QEnumType>
-
- deltix.qsrv.hf.codec.cg.QBEnumType
-
public class QBEnumType extends QBoundType<QEnumType>
-
-
Field Summary
-
Fields inherited from class deltix.qsrv.hf.codec.cg.QBoundType
accessor, javaBaseType, qType
-
-
Constructor Summary
Constructors Constructor Description QBEnumType(QEnumType qType, java.lang.Class<?> javaType, QAccessor accessor, QVariableContainerLookup lookupContainer)
-
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 boolean
hasNullLiteralImpl()
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, move, readIsNull, readIsNullImpl, writeNull, writeObject
-
-
-
-
Constructor Detail
-
QBEnumType
public QBEnumType(QEnumType qType, java.lang.Class<?> javaType, QAccessor accessor, QVariableContainerLookup lookupContainer)
-
-
Method Detail
-
encode
public void encode(JExpr output, JCompoundStatement addTo)
- Overrides:
encode
in classQBoundType<QEnumType>
-
decode
public void decode(JExpr input, JCompoundStatement addTo)
- Overrides:
decode
in classQBoundType<QEnumType>
-
hasNullLiteralImpl
protected boolean hasNullLiteralImpl()
- Overrides:
hasNullLiteralImpl
in classQBoundType<QEnumType>
-
getNullLiteral
public JExpr getNullLiteral()
- Overrides:
getNullLiteral
in classQBoundType<QEnumType>
-
makeConstantExpr
protected JExpr makeConstantExpr(java.lang.Object obj)
- Overrides:
makeConstantExpr
in classQBoundType<QEnumType>
-
hasConstraint
public boolean hasConstraint()
- Overrides:
hasConstraint
in classQBoundType<QEnumType>
-
readIsConstraintViolated
public JExpr readIsConstraintViolated()
- Overrides:
readIsConstraintViolated
in classQBoundType<QEnumType>
-
-