Class InstantiationAwarePropertyAccessor<T>

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

public class InstantiationAwarePropertyAccessor<T> extends Object implements PersistentPropertyAccessor<T>
A PersistentPropertyAccessor that will use an entity's PersistenceCreator to create a new instance of it to apply a new value for a given PersistentProperty. Will only be used if the PersistentProperty is to be applied on a completely immutable entity type exposing a entity creator.
Since:
2.3
Author:
Oliver Drotbohm, Mark Paluch, Johannes Englmeier