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 Collections and
Page as well.method - Copyright © 2012. All Rights Reserved.