ENTITY
- the entity typeD
- the database typepublic interface HasStringOperators<ENTITY,D>
String
type. String
fields have additional methods that makes it easier to create string-related
predicates.Modifier and Type | Method and Description |
---|---|
Predicate<ENTITY> |
contains(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field contains the given
value. |
Predicate<ENTITY> |
containsIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field contains the given value
while ignoring the case of the Strings that are compared. |
Predicate<ENTITY> |
endsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field ends with the given
value. |
Predicate<ENTITY> |
endsWithIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field ends with the given
value while ignoring the case of the Strings that are compared. |
Predicate<ENTITY> |
equalIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field is equal to the given
value while ignoring the case of the Strings that are compared. |
Predicate<ENTITY> |
isEmpty()
Returns a
Predicate that will evaluate to
true , if and only if this Field is empty. |
default Predicate<ENTITY> |
isNotEmpty()
Returns a
Predicate that will evaluate to
true , if and only if this Field is not empty. |
default Predicate<ENTITY> |
notContains(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not contains the given
value. |
default Predicate<ENTITY> |
notContainsIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field does not contain the
given value while ignoring the case of the Strings that are compared. |
default Predicate<ENTITY> |
notEndsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not ends with the given
value. |
default Predicate<ENTITY> |
notEndsWithIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not ends with the given
value while ignoring the case of the Strings that are compared. |
default Predicate<ENTITY> |
notEqualIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field is not equal to the
given value while ignoring the case of the Strings that are compared. |
default Predicate<ENTITY> |
notStartsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not starts with the
given value. |
default Predicate<ENTITY> |
notStartsWithIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not starts with the
given value while ignoring the case of the Strings that are compared. |
Predicate<ENTITY> |
startsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field starts with the given
value. |
Predicate<ENTITY> |
startsWithIgnoreCase(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field starts with the given
value while ignoring the case of the Strings that are compared. |
Predicate<ENTITY> equalIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field is equal to the given
value while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field is equal to the given value while ignoring the case
of the Strings that are comparedString.compareToIgnoreCase(java.lang.String)
default Predicate<ENTITY> notEqualIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field is not equal to the
given value while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field is not equal to the given value while ignoring the
case of the Strings that are comparedString.compareToIgnoreCase(java.lang.String)
Predicate<ENTITY> startsWith(String value)
Predicate
that will evaluate to
true
, if and only if this Field starts with the given
value.value
- to comparetrue
, if and only if
this Field starts with the given valueString.startsWith(java.lang.String)
default Predicate<ENTITY> notStartsWith(String value)
Predicate
that will evaluate to
true
, if and only if this Field not starts with the
given value.value
- to comparetrue
, if and only if
this Field not starts with the given valueString.startsWith(java.lang.String)
Predicate<ENTITY> endsWith(String value)
Predicate
that will evaluate to
true
, if and only if this Field ends with the given
value.value
- to comparetrue
, if and only if
this Field ends with the given valueString.endsWith(java.lang.String)
default Predicate<ENTITY> notEndsWith(String value)
Predicate
that will evaluate to
true
, if and only if this Field not ends with the given
value.value
- to comparetrue
, if and only if
this Field not ends with the given valueString.endsWith(java.lang.String)
Predicate<ENTITY> contains(String value)
Predicate
that will evaluate to
true
, if and only if this Field contains the given
value.value
- to comparetrue
, if and only if
this Field contains the given valueString.contains(java.lang.CharSequence)
default Predicate<ENTITY> notContains(String value)
Predicate
that will evaluate to
true
, if and only if this Field not contains the given
value.value
- to comparetrue
, if and only if
this Field not contains the given valueString.contains(java.lang.CharSequence)
Predicate<ENTITY> isEmpty()
Predicate
that will evaluate to
true
, if and only if this Field is empty. An empty Field
contains a String with length zero.true
, if and only if
this Field is emptyString.isEmpty()
default Predicate<ENTITY> isNotEmpty()
Predicate
that will evaluate to
true
, if and only if this Field is not empty. An empty
Field contains a String with length zero.true
, if and only if
this Field is not emptyString.isEmpty()
Predicate<ENTITY> startsWithIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field starts with the given
value while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field starts with the given value while ignoring the case
of the Strings that are comparedString.startsWith(java.lang.String)
default Predicate<ENTITY> notStartsWithIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field not starts with the
given value while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field not starts with the given value while ignoring the
case of the Strings that are comparedString.startsWith(java.lang.String)
Predicate<ENTITY> endsWithIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field ends with the given
value while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field ends with the given value while ignoring the case of
the Strings that are comparedString.endsWith(java.lang.String)
default Predicate<ENTITY> notEndsWithIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field not ends with the given
value while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field not ends with the given value while ignoring the case
of the Strings that are comparedString.startsWith(java.lang.String)
Predicate<ENTITY> containsIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field contains the given value
while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field contains the given value while ignoring the case of
the Strings that are comparedString.contains(java.lang.CharSequence)
default Predicate<ENTITY> notContainsIgnoreCase(String value)
Predicate
that will evaluate to
true
, if and only if this Field does not contain the
given value while ignoring the case of the Strings that are compared.value
- to comparetrue
, if and only if
this Field does not contain the given value while ignoring the
case of the Strings that are comparedString.contains(java.lang.CharSequence)
Copyright © 2016 Speedment, Inc.. All rights reserved.