Class Accessor.FieldReflection<BeanT,​ValueT>

    • Field Detail

      • f

        public final Field f
    • Constructor Detail

      • FieldReflection

        public FieldReflection​(Field f)
      • FieldReflection

        public FieldReflection​(Field f,
                               boolean supressAccessorWarnings)
    • Method Detail

      • get

        public ValueT get​(BeanT bean)
        Description copied from class: Accessor
        Gets the value of the property of the given bean object.
        Specified by:
        get in class Accessor<BeanT,​ValueT>
        Parameters:
        bean - must not be null.
      • set

        public void set​(BeanT bean,
                        ValueT value)
        Description copied from class: Accessor
        Sets the value of the property of the given bean object.
        Specified by:
        set in class Accessor<BeanT,​ValueT>
        Parameters:
        bean - must not be null.
        value - the value to be set. Setting value to null means resetting to the VM default value (even for primitive properties.)