|
Spring Data Commons | |||||||||
| 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 | |
|---|---|
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. |
| 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 -
|
Spring Data Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||