|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RepositoryMetadata
Metadata for repository interfaces.
| Method Summary | |
|---|---|
CrudMethods |
getCrudMethods()
Returns CrudMethods meta information for the repository. |
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. |
Class<?> |
getReturnedDomainClass(Method method)
Returns the domain class returned by the given Method. |
boolean |
isPagingRepository()
Returns whether the repository is a paging one. |
| Method Detail |
|---|
Class<? extends Serializable> getIdType()
null if none found.Class<?> getDomainType()
null if none found.Class<?> getRepositoryInterface()
Class<?> getReturnedDomainClass(Method method)
Method. Will extract the type from Collections and
Page as well.
method -
CrudMethods getCrudMethods()
CrudMethods meta information for the repository.
boolean isPagingRepository()
|
Spring Data Core | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||