Package | Description |
---|---|
org.springframework.data.auditing |
General support for entity auditing.
|
org.springframework.data.convert |
General purpose conversion framework to read objects from a data store abstraction and write it back.
|
org.springframework.data.mapping |
Base package for the mapping subsystem.
|
org.springframework.data.mapping.context |
Mapping context API and implementation base classes.
|
org.springframework.data.mapping.model |
Core implementation of the mapping subsystem's model.
|
Constructor and Description |
---|
AuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
Deprecated.
use
AuditingHandler.AuditingHandler(PersistentEntities) instead. |
IsNewAwareAuditingHandler(MappingContext<? extends PersistentEntity<?,?>,? extends PersistentProperty<?>> mappingContext)
Deprecated.
|
Modifier and Type | Interface and Description |
---|---|
interface |
EntityConverter<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>,T,S>
Combined
EntityReader and EntityWriter and add the ability to access a MappingContext and
ConversionService . |
Modifier and Type | Method and Description |
---|---|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
ReflectionEntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider) |
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
EntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider)
Creates a new instance of the given entity using the given source to pull data from.
|
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
ClassGeneratingEntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider) |
<T,E extends PersistentEntity<? extends T,P>,P extends PersistentProperty<P>> |
BytecodeGeneratingEntityInstantiator.createInstance(E entity,
ParameterValueProvider<P> provider)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
Association<P extends PersistentProperty<P>>
Value object to capture
Association s. |
interface |
AssociationHandler<P extends PersistentProperty<P>>
Callback interface to implement functionality to be applied to a collection of
Association s. |
interface |
PersistentEntity<T,P extends PersistentProperty<P>>
Represents a persistent entity.
|
interface |
PersistentProperty<P extends PersistentProperty<P>> |
class |
PreferredConstructor<T,P extends PersistentProperty<P>>
Value object to encapsulate the constructor to be used when mapping persistent data to objects.
|
static class |
PreferredConstructor.Parameter<T,P extends PersistentProperty<P>>
Value object to represent constructor parameters.
|
interface |
PropertyHandler<P extends PersistentProperty<P>>
Callback interface to do something with all plain
PersistentProperty instances except associations
and transient properties. |
Modifier and Type | Method and Description |
---|---|
void |
SimplePropertyHandler.doWithPersistentProperty(PersistentProperty<?> property)
Handle the given
PersistentProperty . |
Object |
PersistentPropertyAccessor.getProperty(PersistentProperty<?> property)
Returns the value of the given
PersistentProperty of the underlying bean instance. |
boolean |
PersistentEntity.isConstructorArgument(PersistentProperty<?> property)
Returns whether the given
PersistentProperty is referred to by a constructor argument of the
PersistentEntity . |
boolean |
PreferredConstructor.isConstructorParameter(PersistentProperty<?> property)
Returns whether the given
PersistentProperty is referenced in a constructor argument of the
PersistentEntity backing this PreferredConstructor . |
boolean |
PersistentEntity.isIdProperty(PersistentProperty<?> property)
Returns whether the given
PersistentProperty is the id property of the entity. |
boolean |
PersistentEntity.isVersionProperty(PersistentProperty<?> property)
Returns whether the given
PersistentProperty is the version property of the entity. |
void |
PersistentPropertyAccessor.setProperty(PersistentProperty<?> property,
Object value)
Sets the given
PersistentProperty to the given value. |
Modifier and Type | Method and Description |
---|---|
void |
SimpleAssociationHandler.doWithAssociation(Association<? extends PersistentProperty<?>> association)
Handle the given
Association . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractMappingContext<E extends MutablePersistentEntity<?,P>,P extends PersistentProperty<P>>
Base class to build mapping metadata and thus create instances of
PersistentEntity and
PersistentProperty . |
interface |
MappingContext<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>>
This interface defines the overall context including all known PersistentEntity instances and methods to obtain
instances on demand. it is used internally to establish associations between entities and also at runtime to obtain
entities by name.
|
class |
MappingContextEvent<E extends PersistentEntity<?,P>,P extends PersistentProperty<P>>
Base implementation of an
ApplicationEvent refering to a PersistentEntity . |
interface |
PersistentPropertyPath<T extends PersistentProperty<T>>
Abstraction of a path of
PersistentProperty s. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPersistentProperty<P extends PersistentProperty<P>>
Simple impementation of
PersistentProperty . |
class |
AnnotationBasedPersistentProperty<P extends PersistentProperty<P>>
Special
PersistentProperty that takes annotations at a property into account. |
class |
BasicPersistentEntity<T,P extends PersistentProperty<P>>
Simple value object to capture information of
PersistentEntity s. |
interface |
MutablePersistentEntity<T,P extends PersistentProperty<P>>
Interface capturing mutator methods for
PersistentEntity s. |
interface |
ParameterValueProvider<P extends PersistentProperty<P>>
Callback interface to lookup values for a given
PreferredConstructor.Parameter . |
class |
PersistentEntityParameterValueProvider<P extends PersistentProperty<P>>
ParameterValueProvider based on a PersistentEntity to use a PropertyValueProvider to lookup
the value of the property referenced by the given PreferredConstructor.Parameter . |
class |
PreferredConstructorDiscoverer<T,P extends PersistentProperty<P>>
Helper class to find a
PreferredConstructor . |
interface |
PropertyValueProvider<P extends PersistentProperty<P>>
SPI for components to provide values for as
PersistentProperty . |
class |
SpELExpressionParameterValueProvider<P extends PersistentProperty<P>>
ParameterValueProvider that can be used to front a ParameterValueProvider delegate to prefer a Spel
expression evaluation over directly resolving the parameter value with the delegate. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractPersistentProperty<P extends PersistentProperty<P>>
Simple impementation of
PersistentProperty . |
class |
AnnotationBasedPersistentProperty<P extends PersistentProperty<P>>
Special
PersistentProperty that takes annotations at a property into account. |
Modifier and Type | Method and Description |
---|---|
String |
PropertyNameFieldNamingStrategy.getFieldName(PersistentProperty<?> property) |
String |
FieldNamingStrategy.getFieldName(PersistentProperty<?> property)
Returns the field name to be used for the given
MongoPersistentProperty . |
String |
CamelCaseSplittingFieldNamingStrategy.getFieldName(PersistentProperty<?> property) |
Object |
ConvertingPropertyAccessor.getProperty(PersistentProperty<?> property) |
<T> T |
ConvertingPropertyAccessor.getProperty(PersistentProperty<?> property,
Class<T> targetType)
Returns the value of the given
PersistentProperty converted to the given type. |
boolean |
BasicPersistentEntity.isConstructorArgument(PersistentProperty<?> property) |
boolean |
BasicPersistentEntity.isIdProperty(PersistentProperty<?> property) |
boolean |
BasicPersistentEntity.isVersionProperty(PersistentProperty<?> property) |
void |
ConvertingPropertyAccessor.setProperty(PersistentProperty<?> property,
Object value) |
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.