Class FieldDecoder

  • Direct Known Subclasses:
    ClassFieldDecoder

    public abstract class FieldDecoder
    extends java.lang.Object
    • Field Detail

      • fieldType

        protected final java.lang.Class<?> fieldType
      • isNullable

        protected final boolean isNullable
    • Method Detail

      • isNullable

        public boolean isNullable()
      • copy

        protected abstract void copy​(DecodingContext ctxt,
                                     java.lang.Object obj)
                              throws java.lang.IllegalArgumentException,
                                     java.lang.IllegalAccessException,
                                     java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • setNull

        protected abstract void setNull​(java.lang.Object obj)
                                 throws java.lang.IllegalArgumentException,
                                        java.lang.IllegalAccessException,
                                        java.lang.reflect.InvocationTargetException
        Throws:
        java.lang.IllegalArgumentException
        java.lang.IllegalAccessException
        java.lang.reflect.InvocationTargetException
      • setNull

        protected void setNull​(java.lang.Object obj,
                               int idx)
      • isNull

        public boolean isNull​(long value)
      • isNull

        public boolean isNull​(double value)
      • isNull

        public boolean isNull​(java.lang.String value)
      • getNotNullableMsg

        protected java.lang.String getNotNullableMsg()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object