Interface BeanDataAccessor

  • All Superinterfaces:
    Serializable
    All Known Implementing Classes:
    AbstractBeanDataAccessor, MapBeanDataAccessor

    public interface BeanDataAccessor
    extends Serializable
    Provides access to bean data, allowing getting and setting properties. Is not intended to be used directly by application modules, but only internally, on beans themselves.
    • Method Detail

      • get

        Object get​(Property<?,​?> property)
        Returns a property value for the current bean
      • set

        Object set​(Property<?,​?> property,
                   Object value)
        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.