public interface RepositoryInformation extends RepositoryMetadata
| Modifier and Type | Method and Description |
|---|---|
Streamable<Method> |
getQueryMethods()
Returns all methods considered to be query methods.
|
Class<?> |
getRepositoryBaseClass()
Returns the base class to be used to create the proxy backing instance.
|
Method |
getTargetClassMethod(Method method)
Returns the target class method that is backing the given method.
|
boolean |
hasCustomMethod()
Returns if the configured repository interface has custom methods, that might have to be delegated to a custom
implementation.
|
default boolean |
hasQueryMethods() |
boolean |
isBaseClassMethod(Method method)
Returns whether the given method is logically a base class method.
|
boolean |
isCustomMethod(Method method)
Returns whether the given method is a custom repository method.
|
boolean |
isQueryMethod(Method method)
Returns whether the given method is a query method.
|
getAlternativeDomainTypes, getCrudMethods, getDomainType, getIdType, getRepositoryInterface, getReturnedDomainClass, getReturnType, isPagingRepository, isReactiveRepositoryClass<?> getRepositoryBaseClass()
boolean hasCustomMethod()
boolean isCustomMethod(Method method)
method - boolean isQueryMethod(Method method)
method - boolean isBaseClassMethod(Method method)
method - must not be null.Streamable<Method> getQueryMethods()
Method getTargetClassMethod(Method method)
Method returned can be invoked via reflection, i.e. needs to be accessible.method - must not be null.default boolean hasQueryMethods()
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.