Package org.cyclos.model
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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectget(Property<?,?> property)Returns a property value for the current beanObjectset(Property<?,?> property, Object value)Sets a property value for the current bean, returning the new internal representation of the same value.
-
-
-
Method Detail
-
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.
-
-