Package | Description |
---|---|
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.
|
org.springframework.data.repository.core.support |
Base classes to implement repositories for various data stores.
|
org.springframework.data.repository.support |
Support classes for integration of the repository programming model with 3rd party frameworks.
|
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.
|
Modifier and Type | Method and Description |
---|---|
EntityInstantiator |
EntityInstantiators.getInstantiatorFor(PersistentEntity<?,?> entity)
Returns the
EntityInstantiator to be used to create the given PersistentEntity . |
Constructor and Description |
---|
DefaultTypeMapper(TypeAliasAccessor<S> accessor,
MappingContext<? extends PersistentEntity<?,?>,?> mappingContext,
List<? extends TypeInformationMapper> additionalMappers)
Creates a new
DefaultTypeMapper using the given TypeAliasAccessor , MappingContext and
additional TypeInformationMapper s. |
MappingContextTypeInformationMapper(MappingContext<? extends PersistentEntity<?,?>,?> mappingContext)
Creates a
MappingContextTypeInformationMapper from the given MappingContext . |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,P> |
PersistentProperty.getOwner() |
Constructor and Description |
---|
PreferredConstructor.Parameter(String name,
TypeInformation<T> type,
Annotation[] annotations,
PersistentEntity<T,P> entity)
Creates a new
PreferredConstructor.Parameter with the given name, TypeInformation as well as an array of
Annotation s. |
Modifier and Type | Interface and Description |
---|---|
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 . |
Constructor and Description |
---|
MappingContextIsNewStrategyFactory(MappingContext<? extends PersistentEntity<?,?>,?> context)
Creates a new
MappingContextIsNewStrategyFactory using the given MappingContext . |
Modifier and Type | Class and Description |
---|---|
class |
BeanWrapper<E extends PersistentEntity<T,?>,T>
Value object to allow creation of objects using the metamodel, setting and getting properties.
|
Modifier and Type | Interface and Description |
---|---|
interface |
MutablePersistentEntity<T,P extends PersistentProperty<P>>
Interface capturing mutator methods for
PersistentEntity s. |
Modifier and Type | Class and Description |
---|---|
class |
BasicPersistentEntity<T,P extends PersistentProperty<P>>
Simple value object to capture information of
PersistentEntity s. |
Modifier and Type | Field and Description |
---|---|
protected PersistentEntity<?,P> |
AbstractPersistentProperty.owner |
Modifier and Type | Method and Description |
---|---|
static <E extends PersistentEntity<T,?>,T> |
BeanWrapper.create(T bean,
ConversionService conversionService)
Creates a new
BeanWrapper for the given bean instance and ConversionService . |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,P> |
AbstractPersistentProperty.getOwner() |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,?> |
RepositoryFactoryInformation.getPersistentEntity()
Returns the
PersistentEntity managed by the underlying repository. |
PersistentEntity<?,?> |
RepositoryFactoryBeanSupport.getPersistentEntity() |
Constructor and Description |
---|
PersistentEntityEntityInformation(PersistentEntity<T,?> entity) |
Modifier and Type | Method and Description |
---|---|
PersistentEntity<?,?> |
Repositories.getPersistentEntity(Class<?> domainClass)
Returns the
PersistentEntity for the given domain class. |
Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.