public interface RepositoryInformation extends RepositoryMetadata
修飾子と型 | メソッドと説明 |
---|---|
Streamable<MethodSE> | getQueryMethods() クエリメソッドと見なされるすべてのメソッドを返します。 |
ClassSE<?> | getRepositoryBaseClass() プロキシバッキングインスタンスの作成に使用される基本クラスを返します。 |
MethodSE | getTargetClassMethod(MethodSE method) 指定されたメソッドをサポートしているターゲットクラスメソッドを返します。 |
boolean | hasCustomMethod() 構成されたリポジトリインターフェースにカスタムメソッドがあるかどうかを返します。カスタムメソッドは、カスタム実装に委譲する必要がある場合があります。 |
default boolean | hasQueryMethods() |
boolean | isBaseClassMethod(MethodSE method) 指定されたメソッドが論理的に基本クラスのメソッドであるかどうかを返します。 |
boolean | isCustomMethod(MethodSE method) 指定されたメソッドがカスタムリポジトリメソッドであるかどうかを返します。 |
boolean | isQueryMethod(MethodSE method) 指定されたメソッドがクエリメソッドであるかどうかを返します。 |
getAlternativeDomainTypes, getCrudMethods, getDomainType, getIdType, getRepositoryInterface, getReturnedDomainClass, getReturnType, isPagingRepository, isReactiveRepository
ClassSE<?> getRepositoryBaseClass()
boolean hasCustomMethod()
boolean isCustomMethod(MethodSE method)
method
-boolean isQueryMethod(MethodSE method)
method
-boolean isBaseClassMethod(MethodSE method)
method
- null であってはなりません。Streamable<MethodSE> getQueryMethods()
MethodSE getTargetClassMethod(MethodSE method)
Method
SE がリフレクションを介して呼び出せることを確認する必要があります。つまり、アクセスできる必要があります。method
- null であってはなりません。default boolean hasQueryMethods()
Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.