|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.data.repository.core.support.AnnotationRepositoryMetadata
public class AnnotationRepositoryMetadata
RepositoryMetadata
implementation inspecting the given repository interface for a RepositoryDefinition
annotation.
Constructor Summary | |
---|---|
AnnotationRepositoryMetadata(Class<?> repositoryInterface)
|
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 AnnotationRepositoryMetadata(Class<?> repositoryInterface)
Method Detail |
---|
public Class<?> getIdClass()
RepositoryMetadata
getIdClass
in interface RepositoryMetadata
null
if none found.public Class<?> getDomainClass()
RepositoryMetadata
getDomainClass
in interface RepositoryMetadata
null
if
none found.public Class<?> getRepositoryInterface()
RepositoryMetadata
getRepositoryInterface
in interface RepositoryMetadata
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |