|
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 org.springframework.data.repository.core.support.AnnotationRepositoryMetadata
public class AnnotationRepositoryMetadata
RepositoryMetadata
implementation inspecting the given repository interface for a
RepositoryDefinition
annotation.
Constructor Summary | |
---|---|
AnnotationRepositoryMetadata(java.lang.Class<?> repositoryInterface)
Creates a new AnnotationRepositoryMetadata instance looking up repository types from a
RepositoryDefinition annotation. |
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. |
Methods inherited from class org.springframework.data.repository.core.support.AbstractRepositoryMetadata |
---|
getReturnedDomainClass |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationRepositoryMetadata(java.lang.Class<?> repositoryInterface)
AnnotationRepositoryMetadata
instance looking up repository types from a
RepositoryDefinition
annotation.
repositoryInterface
- must not be null.Method Detail |
---|
public java.lang.Class<?> getIdClass()
RepositoryMetadata
null
if none found.public java.lang.Class<?> getDomainClass()
RepositoryMetadata
null
if none found.public java.lang.Class<?> getRepositoryInterface()
RepositoryMetadata
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |