|
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.support.DefaultRepositoryMetadata
public class DefaultRepositoryMetadata
Default implementation of RepositoryMetadata
. Will inspect generic types of
Repository
to find out about domain and id class.
Constructor Summary | |
---|---|
DefaultRepositoryMetadata(Class<?> repositoryInterface)
Creates a new DefaultRepositoryMetadata for the given repository
interface. |
Method Summary | |
---|---|
Class<?> |
getDomainClass()
Returns the domain class the repository is declared for. |
Class<?> |
getIdClass()
Returns the id class the given class is declared for. |
Class<?> |
getRepositoryInterface()
Returns the repository interface. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultRepositoryMetadata(Class<?> repositoryInterface)
DefaultRepositoryMetadata
for the given repository
interface.
repositoryInterface
- Method Detail |
---|
public Class<?> getRepositoryInterface()
RepositoryMetadata
getRepositoryInterface
in interface RepositoryMetadata
public Class<?> getDomainClass()
RepositoryMetadata
getDomainClass
in interface RepositoryMetadata
null
if
none found.public Class<?> getIdClass()
RepositoryMetadata
getIdClass
in interface RepositoryMetadata
null
if none found.
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |