ENTITY
- the entity typeD
- the database typepublic interface StringFieldTrait<ENTITY,D>
String
type. String
fields have additional methods that makes it easier to create string-related
predicates.Modifier and Type | Method and Description |
---|---|
StringSpeedmentPredicate<ENTITY,D> |
contains(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field contains the given
value. |
StringSpeedmentPredicate<ENTITY,D> |
endsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field ends with the given
value. |
StringSpeedmentPredicate<ENTITY,D> |
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. |
StringSpeedmentPredicate<ENTITY,D> |
isEmpty()
Returns a
Predicate that will evaluate to
true , if and only if this Field is empty. |
StringSpeedmentPredicate<ENTITY,D> |
isNotEmpty()
Returns a
Predicate that will evaluate to
true , if and only if this Field is not empty. |
StringSpeedmentPredicate<ENTITY,D> |
notContains(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not contains the given
value. |
StringSpeedmentPredicate<ENTITY,D> |
notEndsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not ends with the given
value. |
StringSpeedmentPredicate<ENTITY,D> |
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. |
StringSpeedmentPredicate<ENTITY,D> |
notStartsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field not starts with the given
value. |
StringSpeedmentPredicate<ENTITY,D> |
startsWith(String value)
Returns a
Predicate that will evaluate to
true , if and only if this Field starts with the given
value. |
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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)
StringSpeedmentPredicate<ENTITY,D> 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()
StringSpeedmentPredicate<ENTITY,D> 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()
Copyright © 2016 Speedment, Inc.. All rights reserved.