Class ClassFieldAccessor

    • Constructor Detail

      • ClassFieldAccessor

        public ClassFieldAccessor​(Object instance,
                                  Field field)
        Constructs a new ClassFieldAccessor.
        Parameters:
        instance - the plain Java object
        field - the field which holds the value
    • Method Detail

      • setValue

        public void setValue​(Object value)
        The strategy to set a value.
        Specified by:
        setValue in interface PropertyAccessor
        Parameters:
        value - The value to be set.