public abstract class AbstractRepositoryMetadata extends Object implements RepositoryMetadata
RepositoryMetadata implementations.| Constructor and Description |
|---|
AbstractRepositoryMetadata(Class<?> repositoryInterface)
Creates a new
AbstractRepositoryMetadata. |
| Modifier and Type | Method and Description |
|---|---|
CrudMethods |
getCrudMethods()
Returns
CrudMethods meta information for the repository. |
Class<?> |
getRepositoryInterface()
Returns the repository interface.
|
Class<?> |
getReturnedDomainClass(Method method)
Returns the domain class returned by the given
Method. |
boolean |
isPagingRepository()
Returns whether the repository is a paging one.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDomainType, getIdTypepublic AbstractRepositoryMetadata(Class<?> repositoryInterface)
AbstractRepositoryMetadata.repositoryInterface - must not be null and must be an interface.public Class<?> getReturnedDomainClass(Method method)
RepositoryMetadataMethod. Will extract the type from Collections and
Page as well.getReturnedDomainClass in interface RepositoryMetadatapublic Class<?> getRepositoryInterface()
RepositoryMetadatagetRepositoryInterface in interface RepositoryMetadatapublic CrudMethods getCrudMethods()
RepositoryMetadataCrudMethods meta information for the repository.getCrudMethods in interface RepositoryMetadatapublic boolean isPagingRepository()
RepositoryMetadataisPagingRepository in interface RepositoryMetadataCopyright © 2011-2014–2015 Pivotal Software, Inc.. All rights reserved.