public interface RepositoryMetadata
Modifier and Type | Method and Description |
---|---|
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 . |
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 Collection
s and
Page
as well.method
- Copyright © 2011-2013-2014 Pivotal. All Rights Reserved.