|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryMetadata
Metadata for repository interfaces.
Method Summary | |
---|---|
java.lang.Class<?> |
getDomainClass()
Returns the domain class the repository is declared for. |
java.lang.Class<?> |
getIdClass()
Returns the id class the given class is declared for. |
java.lang.Class<?> |
getRepositoryInterface()
Returns the repository interface. |
java.lang.Class<?> |
getReturnedDomainClass(java.lang.reflect.Method method)
Returns the domain class returned by the given Method . |
Method Detail |
---|
java.lang.Class<?> getIdClass()
clazz
-
null
if none found.java.lang.Class<?> getDomainClass()
clazz
-
null
if none found.java.lang.Class<?> getRepositoryInterface()
java.lang.Class<?> getReturnedDomainClass(java.lang.reflect.Method method)
Method
. Will extract the type from Collection
s and
Page
as well.
method
-
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |