public interface RepositoryMetadata
| Modifier and Type | Method and Description |
|---|---|
CrudMethods |
getCrudMethods()
Returns
CrudMethods meta information for the repository. |
Class<?> |
getDomainType()
Returns the domain class the repository is declared for.
|
Class<? extends Serializable> |
getIdType()
Returns the id class the given class is declared for.
|
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.
|
Class<? extends Serializable> getIdType()
null if none found.Class<?> getDomainType()
null if none found.Class<?> getRepositoryInterface()
Class<?> getReturnedDomainClass(Method method)
Method. Will extract the type from Collections and
Page as well.method - CrudMethods getCrudMethods()
CrudMethods meta information for the repository.boolean isPagingRepository()
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.