Package | Description |
---|---|
org.springframework.data.mapping |
Base package for the mapping subsystem.
|
org.springframework.data.mapping.model |
Core implementation of the mapping subsystem's model.
|
Modifier and Type | Interface and Description |
---|---|
interface |
PersistentPropertyPathAccessor<T>
Extension of
PersistentPropertyAccessor that is also able to obtain and set values for
PersistentPropertyPath s. |
Modifier and Type | Method and Description |
---|---|
default <T> PersistentPropertyAccessor<T> |
PersistentProperty.getAccessorForOwner(T owner)
Returns a
PersistentPropertyAccessor for the current property's owning value. |
<B> PersistentPropertyAccessor<B> |
PersistentEntity.getPropertyAccessor(B bean)
Returns a
PersistentPropertyAccessor to access property values of the given bean. |
Modifier and Type | Class and Description |
---|---|
class |
ConvertingPropertyAccessor<T>
PersistentPropertyAccessor that potentially converts the value handed to
ConvertingPropertyAccessor.setProperty(PersistentProperty, Object) to the type of the PersistentProperty using a
ConversionService . |
class |
InstantiationAwarePropertyAccessor<T>
A
PersistentPropertyAccessor that will use an entity's PersistenceConstructor to create a new
instance of it to apply a new value for a given PersistentProperty . |
Modifier and Type | Method and Description |
---|---|
<B> PersistentPropertyAccessor<B> |
BasicPersistentEntity.getPropertyAccessor(B bean) |
<T> PersistentPropertyAccessor<T> |
PersistentPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean)
|
<T> PersistentPropertyAccessor<T> |
InstantiationAwarePropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean) |
<T> PersistentPropertyAccessor<T> |
BeanWrapperPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean) |
<T> PersistentPropertyAccessor<T> |
ClassGeneratingPropertyAccessorFactory.getPropertyAccessor(PersistentEntity<?,?> entity,
T bean) |
Constructor and Description |
---|
ConvertingPropertyAccessor(PersistentPropertyAccessor<T> accessor,
ConversionService conversionService)
Creates a new
ConvertingPropertyAccessor for the given delegate PersistentPropertyAccessor and
ConversionService . |
InstantiationAwarePropertyAccessor(PersistentPropertyAccessor<T> delegate,
EntityInstantiators instantiators)
Deprecated.
since 2.4. Using this constructor allows only setting a single property as
PersistentPropertyAccessor holds a reference to the initial bean state. |
Constructor and Description |
---|
InstantiationAwarePropertyAccessor(T bean,
Function<T,PersistentPropertyAccessor<T>> accessorFunction,
EntityInstantiators instantiators)
Creates an
InstantiationAwarePropertyAccessor using the given delegate accessorFunction and
EntityInstantiators . |
Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.