Class XFieldAccessor

    • Constructor Detail

      • XFieldAccessor

        public XFieldAccessor​(Field field)
    • Method Detail

      • getType

        public Class<?> getType()
        Description copied from interface: XAccessor
        Gets the type of the object to be set by this setter.
        Specified by:
        getType in interface XAccessor
        Returns:
        the setter object type
      • setValue

        public void setValue​(Object instance,
                             Object value)
        Description copied from interface: XAccessor
        Sets the value of the underlying member.
        Specified by:
        setValue in interface XAccessor
        Parameters:
        instance - the instance of the object that owns this field
        value - the value to set