Class ConvertingPropertyAccessor<T>

java.lang.Object
org.springframework.data.mapping.model.ConvertingPropertyAccessor<T>
All Implemented Interfaces:
PersistentPropertyAccessor<T>, PersistentPropertyPathAccessor<T>

public class ConvertingPropertyAccessor<T> extends Object
PersistentPropertyAccessor that potentially converts the value handed to setProperty(PersistentProperty, Object) to the type of the PersistentProperty using a ConversionService. Exposes getProperty(PersistentProperty, Class) to allow obtaining the value of a property in a type the ConversionService can convert the raw type to.
Author:
Oliver Gierke, Mark Paluch