public abstract class AbstractRepositoryMetadataResolver extends Object implements RepositoryMetadataResolver
A repository must:
Once these checks are completed, it will call resolveFromInterface(Class) to
determine the actual metadata.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRepositoryMetadataResolver() |
| Modifier and Type | Method and Description |
|---|---|
RepositoryMetadata |
resolve(Class<?> repositoryInterface) |
protected abstract RepositoryMetadata |
resolveFromInterface(Class<?> repositoryInterface)
Determines the metadata from the given repository interface, knowing that the assumptions
declared
the head of this class now hold. |
protected String |
resolveIdProperty(Class<?> entityType,
Class<?> idType)
Given the type of the entity, it will determine the ID property for that entity through calling
to
EntityIdPropertyResolver |
protected AbstractRepositoryMetadataResolver()
public final RepositoryMetadata resolve(Class<?> repositoryInterface)
resolve in interface RepositoryMetadataResolverprotected abstract RepositoryMetadata resolveFromInterface(Class<?> repositoryInterface)
the head of this class now hold.repositoryInterface - the repository interface.protected String resolveIdProperty(Class<?> entityType, Class<?> idType)
EntityIdPropertyResolverentityType - the type of the entityidType - the type of the ID propertyCopyright © 2014–2021. All rights reserved.