Class SimpleAccessor

  • All Implemented Interfaces:
    Accessor

    public class SimpleAccessor
    extends Object
    implements Accessor
    The Class SimpleAccessor.
    • Field Detail

      • logger

        private static final org.slf4j.Logger logger
        The Constant logger.
    • Constructor Detail

      • SimpleAccessor

        public SimpleAccessor()
    • Method Detail

      • get

        public Object get​(Object obj,
                          Field field)
        Description copied from interface: Accessor
        Gets the.
        Specified by:
        get in interface Accessor
        Parameters:
        obj - the obj
        field - the field
        Returns:
        the object
      • pre

        private boolean pre​(Field field)
        Pre.
        Parameters:
        field - the field
        Returns:
        true, if successful
      • post

        private void post​(Field field,
                          boolean value)
        Post.
        Parameters:
        field - the field
        value - the value