クラス ExampleMatcherAccessor
java.lang.ObjectSE
org.springframework.data.support.ExampleMatcherAccessor
例による照会(QBE)照会をサポートするモジュールで使用する
ExampleMatcher のアクセサー。- 導入:
- 1.12
- 作成者:
- Mark Paluch, Oliver Gierke, Christoph Strobl, Jens Schauder
コンストラクターの概要
コンストラクター方法の概要
修飾子と型メソッド説明定義されたExampleMatcher.StringMatcherを取得します。定義済みの null 処理を取得します。@Nullable ExampleMatcher.PropertySpecifiergetPropertySpecifier(StringSE path) 指定されたパスのExampleMatcher.PropertySpecifierを取得します。基になるExampleMatcherのExampleMatcher.PropertySpecifierを返します。指定されたパスのExampleMatcher.StringMatcherを取得するか、定義されていない場合はデフォルトのものを返します。指定されたパスの大文字と小文字を区別しないフラグを取得するか、何も定義されていない場合はExampleMatcher.NoOpPropertyValueTransformerを返します。booleanhasPropertySpecifier(StringSE path) 基礎となるExampleMatcherが指定されたパスのExampleMatcher.PropertySpecifierを含むかどうかを返します。booleanbooleanbooleanisIgnoreCaseForPath(StringSE path) 指定されたパスの大文字と小文字を区別しないフラグを取得するか、定義されていない場合はデフォルトを返します。booleanisIgnoredPath(StringSE path)
コンストラクターの詳細
ExampleMatcherAccessor
メソッドの詳細
getPropertySpecifiers
基になるExampleMatcherのExampleMatcher.PropertySpecifierを返します。- 戻り値:
ExampleMatcher.PropertySpecifiers の変更不可能なCollectionSE。
hasPropertySpecifier
基礎となるExampleMatcherが指定されたパスのExampleMatcher.PropertySpecifierを含むかどうかを返します。- パラメーター:
path- プロパティを識別するドットパス。- 戻り値:
- 指定されたパスに
ExampleMatcher.PropertySpecifierが定義されている場合は true。
getPropertySpecifier
指定されたパスのExampleMatcher.PropertySpecifierを取得します。
null 値にならないようにhasPropertySpecifier(String)かどうかを確認します。- パラメーター:
path- プロパティへのドットパス。- 戻り値:
- path に
ExampleMatcher.PropertySpecifierが定義されていない場合は null。
hasPropertySpecifiers
public boolean hasPropertySpecifiers()- 戻り値:
- 少なくとも 1 つの
ExampleMatcher.PropertySpecifierが定義されている場合は true。
getStringMatcherForPath
指定されたパスのExampleMatcher.StringMatcherを取得するか、定義されていない場合はデフォルトのものを返します。- パラメーター:
path-- 戻り値:
- 決して null にはなりません。
getNullHandler
getDefaultStringMatcher
定義されたExampleMatcher.StringMatcherを取得します。- 戻り値:
- 決して null にはなりません。
isIgnoreCaseEnabled
public boolean isIgnoreCaseEnabled()- 戻り値:
StringSE を大文字と小文字を区別しないオプションと一致させる必要がある場合は true。
isIgnoredPath
- パラメーター:
path-- 戻り値:
- パスが無視されるように設定されている場合は true を返します。
isIgnoreCaseForPath
指定されたパスの大文字と小文字を区別しないフラグを取得するか、定義されていない場合はデフォルトを返します。- パラメーター:
path-- 戻り値:
- 決して null にはなりません。
getValueTransformerForPath
指定されたパスの大文字と小文字を区別しないフラグを取得するか、何も定義されていない場合はExampleMatcher.NoOpPropertyValueTransformerを返します。- パラメーター:
path-- 戻り値:
- 決して null にはなりません。