|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.data.repository.core.support.AbstractRepositoryMetadata
public abstract class AbstractRepositoryMetadata
Base class for RepositoryMetadata
implementations.
Constructor Summary | |
---|---|
AbstractRepositoryMetadata(java.lang.Class<?> repositoryInterface)
Creates a new AbstractRepositoryMetadata . |
Method Summary | |
---|---|
java.lang.Class<?> |
getReturnedDomainClass(java.lang.reflect.Method method)
Returns the domain class returned by the given Method . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.springframework.data.repository.core.RepositoryMetadata |
---|
getDomainClass, getIdClass, getRepositoryInterface |
Constructor Detail |
---|
public AbstractRepositoryMetadata(java.lang.Class<?> repositoryInterface)
AbstractRepositoryMetadata
.
repositoryInterface
- must not be null and must be an interface.Method Detail |
---|
public java.lang.Class<?> getReturnedDomainClass(java.lang.reflect.Method method)
RepositoryMetadata
Method
. Will extract the type from Collection
s and
Page
as well.
getReturnedDomainClass
in interface RepositoryMetadata
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |