public class DefaultRepositoryMetadata extends AbstractRepositoryMetadata
RepositoryMetadata. Will inspect generic types of Repository to find out
about domain and id class.| Constructor and Description |
|---|
DefaultRepositoryMetadata(Class<?> repositoryInterface)
Creates a new
DefaultRepositoryMetadata for the given repository interface. |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
getDomainType()
Returns the domain class the repository is declared for.
|
Class<?> |
getIdType()
Returns the id class the given class is declared for.
|
getAlternativeDomainTypes, getCrudMethods, getMetadata, getRepositoryInterface, getReturnedDomainClass, getReturnType, isPagingRepository, isReactiveRepositorypublic DefaultRepositoryMetadata(Class<?> repositoryInterface)
DefaultRepositoryMetadata for the given repository interface.repositoryInterface - must not be null.public Class<?> getIdType()
RepositoryMetadatapublic Class<?> getDomainType()
RepositoryMetadataCopyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.