Class AbstractBeanDataAccessor

    • Constructor Detail

      • AbstractBeanDataAccessor

        public AbstractBeanDataAccessor()
    • Method Detail

      • set

        public final Object set​(Property<?,​?> property,
                                Object value)
        Description copied from interface: BeanDataAccessor
        Sets a property value for the current bean, returning the new internal representation of the same value. If external code relies on modifying the value being set, it must use the one returned, or there are no guarantees that the changes will be actually reflected.
        Specified by:
        set in interface BeanDataAccessor
      • doGet

        protected abstract Object doGet​(Property<?,​?> property)
        Must be implemented to actually get a property value
      • doSet

        protected abstract Object doSet​(Property<?,​?> property,
                                        Object value)
        Must be implemented to actually set a property value, returning the new representation of the value that was set