Class Predicate
- java.lang.Object
-
- com.netgrif.application.engine.workflow.domain.filter.DoubleValueHolder
-
- com.netgrif.application.engine.workflow.domain.filter.Predicate
-
public class Predicate extends DoubleValueHolder
Predicate class represents one search predicate (search term). In the xml document, this class is represented withtag. Depending on search category and configuration, there could be 5 different types of values. Same as the PredicateArray class, this one needs to be converted into map object when importing filter.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Boolean>
booleanValues
protected java.lang.String
category
protected Configuration
configuration
protected java.util.List<java.lang.Double>
doubleValues
protected java.util.List<java.lang.Long>
longValues
protected java.util.List<PredicateValue>
mapValues
protected java.util.List<java.lang.String>
stringValues
-
Constructor Summary
Constructors Constructor Description Predicate(java.util.Map<java.lang.String,java.lang.Object> value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getMapObject()
-
Methods inherited from class com.netgrif.application.engine.workflow.domain.filter.DoubleValueHolder
convertObjectToDouble
-
-
-
-
Field Detail
-
category
protected java.lang.String category
-
configuration
protected Configuration configuration
-
stringValues
protected java.util.List<java.lang.String> stringValues
-
doubleValues
protected java.util.List<java.lang.Double> doubleValues
-
booleanValues
protected java.util.List<java.lang.Boolean> booleanValues
-
mapValues
protected java.util.List<PredicateValue> mapValues
-
longValues
protected java.util.List<java.lang.Long> longValues
-
-