Interface PersistentPropertyAccessorFactory
- All Known Implementing Classes:
BeanWrapperPropertyAccessorFactory
,ClassGeneratingPropertyAccessorFactory
,InstantiationAwarePropertyAccessorFactory
public interface PersistentPropertyAccessorFactory
Factory to create
PersistentPropertyAccessor
for a given PersistentEntity
and bean instance.- Since:
- 1.13
- Author:
- Mark Paluch, Oliver Gierke
-
Method Summary
Modifier and TypeMethodDescription<T> PersistentPropertyAccessor<T>
getPropertyAccessor
(PersistentEntity<?, ?> entity, T bean) boolean
isSupported
(PersistentEntity<?, ?> entity) Returns whether givenPersistentEntity
is supported by thisPersistentPropertyAccessorFactory
.
-
Method Details
-
getPropertyAccessor
- Parameters:
entity
- must not be null.bean
- must not be null.- Returns:
- will never be null.
-
isSupported
Returns whether givenPersistentEntity
is supported by thisPersistentPropertyAccessorFactory
.- Parameters:
entity
- must not be null.- Returns:
-