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 |
|---|---|
TypeInformation<?> |
getDomainTypeInformation()
Returns the
TypeInformationof the domain type the repository is declared to manage. |
TypeInformation<?> |
getIdTypeInformation()
Returns the
TypeInformation of the id type of the repository. |
getAlternativeDomainTypes, getCrudMethods, getMetadata, getRepositoryInterface, getReturnedDomainClass, getReturnType, isPagingRepository, isReactiveRepositoryclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDomainType, getIdTypepublic DefaultRepositoryMetadata(Class<?> repositoryInterface)
DefaultRepositoryMetadata for the given repository interface.repositoryInterface - must not be null.public TypeInformation<?> getIdTypeInformation()
RepositoryMetadataTypeInformation of the id type of the repository.TypeInformation class of the identifier of the entity managed by the repository. Will never be
null.public TypeInformation<?> getDomainTypeInformation()
RepositoryMetadataTypeInformationof the domain type the repository is declared to manage. Will never be
null.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.