|
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(Class<?> repositoryInterface)
Creates a new AnnotationRepositoryMetadata instance looking up repository types from a
RepositoryDefinition annotation. |
Method Summary | |
---|---|
Class<?> |
getDomainType()
Returns the domain class the repository is declared for. |
Class<? extends Serializable> |
getIdType()
Returns the id class the given class is declared for. |
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(Class<?> repositoryInterface)
AnnotationRepositoryMetadata
instance looking up repository types from a
RepositoryDefinition
annotation.
repositoryInterface
- must not be null.Method Detail |
---|
public Class<? extends Serializable> getIdType()
RepositoryMetadata
null
if none found.public Class<?> getDomainType()
RepositoryMetadata
null
if none found.public Class<?> getRepositoryInterface()
RepositoryMetadata
|
Spring Data Commons | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |