クラス ExampleMatcher.GenericPropertyMatcher
java.lang.ObjectSE
org.springframework.data.domain.ExampleMatcher.GenericPropertyMatcher
- 含まれているインターフェース:
- ExampleMatcher
string matching と大文字と小文字の区別を指定する汎用プロパティマッチャー。- 作成者:
- Mark Paluch
コンストラクターの概要
コンストラクターメソッドのサマリー
修飾子と型メソッド説明protected boolean大文字小文字の区別を false に設定します。contains()文字列マッチャーをExampleMatcher.StringMatcher.CONTAININGに設定します。endsWith()文字列マッチャーをExampleMatcher.StringMatcher.ENDINGに設定します。booleanexact()文字列マッチャーをExampleMatcher.StringMatcher.EXACTに設定します。inthashCode()無視するケースを true に設定します。ignoreCase(boolean ignoreCase) 大文字小文字の区別をignoreCaseに設定します。of(ExampleMatcher.StringMatcher stringMatcher) of(ExampleMatcher.StringMatcher stringMatcher, boolean ignoreCase) regex()文字列マッチャーをExampleMatcher.StringMatcher.REGEXに設定します。文字列マッチャーをExampleMatcher.StringMatcher.STARTINGに設定します。文字列マッチャーをExampleMatcher.StringMatcher.DEFAULTに設定します。stringMatcher(ExampleMatcher.StringMatcher stringMatcher) 文字列マッチャーをstringMatcherに設定します。transform(ExampleMatcher.PropertyValueTransformer propertyValueTransformer) ExampleMatcher.PropertyValueTransformerをpropertyValueTransformerに設定します。
コンストラクターの詳細
GenericPropertyMatcher
public GenericPropertyMatcher()未構成のExampleMatcher.GenericPropertyMatcherを作成します。
メソッドの詳細
of
public static ExampleMatcher.GenericPropertyMatcher of(ExampleMatcher.StringMatcher stringMatcher, boolean ignoreCase) - パラメーター:
stringMatcher- null であってはなりません。ignoreCase- 大文字と小文字を区別しない場合は true にします。
of
- パラメーター:
stringMatcher- null であってはなりません。
ignoreCase
無視するケースを true に設定します。ignoreCase
大文字小文字の区別をignoreCaseに設定します。- パラメーター:
ignoreCase- 大文字と小文字を区別しない場合は true にします。
caseSensitive
大文字小文字の区別を false に設定します。contains
文字列マッチャーをExampleMatcher.StringMatcher.CONTAININGに設定します。endsWith
文字列マッチャーをExampleMatcher.StringMatcher.ENDINGに設定します。startsWith
文字列マッチャーをExampleMatcher.StringMatcher.STARTINGに設定します。exact
文字列マッチャーをExampleMatcher.StringMatcher.EXACTに設定します。storeDefaultMatching
文字列マッチャーをExampleMatcher.StringMatcher.DEFAULTに設定します。regex
文字列マッチャーをExampleMatcher.StringMatcher.REGEXに設定します。stringMatcher
@Contract("_ -> this") public ExampleMatcher.GenericPropertyMatcher stringMatcher(ExampleMatcher.StringMatcher stringMatcher) 文字列マッチャーをstringMatcherに設定します。- パラメーター:
stringMatcher- null であってはなりません。
transform
@Contract("_ -> this") public ExampleMatcher.GenericPropertyMatcher transform(ExampleMatcher.PropertyValueTransformer propertyValueTransformer) ExampleMatcher.PropertyValueTransformerをpropertyValueTransformerに設定します。- パラメーター:
propertyValueTransformer- null であってはなりません。
canEqual
equals
hashCode
public int hashCode()