StringPredicate Class
The predicate class for string attributes.
Constructor
StringPredicate
(
-
attributePath
Parameters:
-
attributePath
StringThe path to the attribute for predicate.
Item Index
Methods
Properties
Methods
and
(
Query.ComplexPredicate
public
-
predicates
Combines specified predicates using and
logic condition.
Parameters:
-
predicates
Query.BasePredicate multipleList of predicates for combining.
Returns:
Query.ComplexPredicate:
Combined complex predicate with and
logic.
contains
(
Query.StringPredicate
chainable
-
value
Sets the value that the attribute has to contain.
Parameters:
-
value
StringThe value that the attribute has to contain.
Returns:
Query.StringPredicate:
Returns this instance.
createPredicate
(
BasePredicate
-
args
Creates predicate by various parameters.
Parameters:
-
args
ObjectArguments for the predicate.
Returns:
or
(
Query.ComplexPredicate
public
-
predicates
Combines specified predicates using or
logic condition.
Parameters:
-
predicates
Query.BasePredicate multipleList of predicates for combining.
Returns:
Query.ComplexPredicate:
Combined complex predicate with or
logic.
stringToPredicate
(
BasePredicate
-
stringPredicate
Convert string to predicate.
Parameters:
-
stringPredicate
Object