|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.data.repository.core.support.AbstractRepositoryMetadata
public abstract class AbstractRepositoryMetadata
Base class for RepositoryMetadata implementations.
| Constructor Summary | |
|---|---|
AbstractRepositoryMetadata(Class<?> repositoryInterface)
Creates a new AbstractRepositoryMetadata. |
|
| Method Summary | |
|---|---|
CrudMethods |
getCrudMethods()
Returns CrudMethods meta information for the repository. |
Class<?> |
getRepositoryInterface()
Returns the repository interface. |
Class<?> |
getReturnedDomainClass(Method method)
Returns the domain class returned by the given Method. |
boolean |
isPagingRepository()
Returns whether the repository is a paging one. |
| 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 |
|---|
getDomainType, getIdType |
| Constructor Detail |
|---|
public AbstractRepositoryMetadata(Class<?> repositoryInterface)
AbstractRepositoryMetadata.
repositoryInterface - must not be null and must be an interface.| Method Detail |
|---|
public Class<?> getReturnedDomainClass(Method method)
RepositoryMetadataMethod. Will extract the type from Collections and
Page as well.
getReturnedDomainClass in interface RepositoryMetadatapublic Class<?> getRepositoryInterface()
RepositoryMetadata
getRepositoryInterface in interface RepositoryMetadatapublic CrudMethods getCrudMethods()
RepositoryMetadataCrudMethods meta information for the repository.
getCrudMethods in interface RepositoryMetadatapublic boolean isPagingRepository()
RepositoryMetadata
isPagingRepository in interface RepositoryMetadata
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||