public interface PersistentPropertyAccessor
PersistentPropertys of an entity. Usually obtained through
PersistentEntity.getPropertyAccessor(Object). In case type conversion shall be applied on property access,
use a ConvertingPropertyAccessor.PersistentEntity.getPropertyAccessor(Object),
ConvertingPropertyAccessor| Modifier and Type | Method and Description |
|---|---|
Object |
getBean()
Returns the underlying bean.
|
Object |
getProperty(PersistentProperty<?> property)
Returns the value of the given
PersistentProperty of the underlying bean instance. |
void |
setProperty(PersistentProperty<?> property,
Object value)
Sets the given
PersistentProperty to the given value. |
void setProperty(PersistentProperty<?> property, @Nullable Object value)
PersistentProperty to the given value. Will do type conversion if a
ConversionService is configured.property - must not be null.value - can be null.MappingException - in case an exception occurred when setting the property value.@Nullable Object getProperty(PersistentProperty<?> property)
PersistentProperty of the underlying bean instance.property - must not be null.Object getBean()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.