Package deltix.qsrv.hf.pub.codec.intp
Class ClassFieldDecoder
- java.lang.Object
-
- deltix.qsrv.hf.pub.codec.intp.FieldDecoder
-
- deltix.qsrv.hf.pub.codec.intp.ClassFieldDecoder
-
public class ClassFieldDecoder extends FieldDecoder
-
-
Field Summary
Fields Modifier and Type Field Description static intNULL_CODE-
Fields inherited from class deltix.qsrv.hf.pub.codec.intp.FieldDecoder
fieldInfo, fieldType, isNullable, setter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcopy(DecodingContext ctxt, java.lang.Object obj)UnboundDecodergetFieldDecoder()booleanisNull(DecodingContext ctxt)java.lang.ObjectreadObject(DecodingContext ctx)protected voidsetNull(java.lang.Object obj)ValidationErrorvalidate(DecodingContext ctxt)-
Methods inherited from class deltix.qsrv.hf.pub.codec.intp.FieldDecoder
getNotNullableMsg, isNull, isNull, isNull, isNullable, setNull, toString
-
-
-
-
Field Detail
-
NULL_CODE
public static final int NULL_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
copy
protected void copy(DecodingContext ctxt, java.lang.Object obj) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException
- Specified by:
copyin classFieldDecoder- Throws:
java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
-
readObject
public java.lang.Object readObject(DecodingContext ctx)
-
setNull
protected void setNull(java.lang.Object obj) throws java.lang.IllegalArgumentException, java.lang.IllegalAccessException, java.lang.reflect.InvocationTargetException- Specified by:
setNullin classFieldDecoder- Throws:
java.lang.IllegalArgumentExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException
-
getFieldDecoder
public UnboundDecoder getFieldDecoder() throws NullValueException
- Throws:
NullValueException
-
isNull
public boolean isNull(DecodingContext ctxt)
- Specified by:
isNullin classFieldDecoder
-
validate
public ValidationError validate(DecodingContext ctxt)
- Overrides:
validatein classFieldDecoder
-
-