Package org.camunda.bpm.engine.rest.dto
Class ConditionQueryParameterDto
- java.lang.Object
-
- org.camunda.bpm.engine.rest.dto.ConditionQueryParameterDto
-
- Direct Known Subclasses:
VariableQueryParameterDto
public class ConditionQueryParameterDto extends Object
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description static String
EQUALS_OPERATOR_NAME
static String
GREATER_THAN_OPERATOR_NAME
static String
GREATER_THAN_OR_EQUALS_OPERATOR_NAME
static String
LESS_THAN_OPERATOR_NAME
static String
LESS_THAN_OR_EQUALS_OPERATOR_NAME
static String
LIKE_OPERATOR_NAME
protected static Map<String,QueryOperator>
NAME_OPERATOR_MAP
static String
NOT_EQUALS_OPERATOR_NAME
static String
NOT_LIKE_OPERATOR_NAME
protected String
operator
protected static Map<QueryOperator,String>
OPERATOR_NAME_MAP
protected Object
value
-
Constructor Summary
Constructors Constructor Description ConditionQueryParameterDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOperator()
static QueryOperator
getQueryOperator(String name)
Object
getValue()
Object
resolveValue(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
void
setOperator(String operator)
void
setValue(Object value)
-
-
-
Field Detail
-
EQUALS_OPERATOR_NAME
public static final String EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
NOT_EQUALS_OPERATOR_NAME
public static final String NOT_EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
GREATER_THAN_OPERATOR_NAME
public static final String GREATER_THAN_OPERATOR_NAME
- See Also:
- Constant Field Values
-
GREATER_THAN_OR_EQUALS_OPERATOR_NAME
public static final String GREATER_THAN_OR_EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
LESS_THAN_OPERATOR_NAME
public static final String LESS_THAN_OPERATOR_NAME
- See Also:
- Constant Field Values
-
LESS_THAN_OR_EQUALS_OPERATOR_NAME
public static final String LESS_THAN_OR_EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
LIKE_OPERATOR_NAME
public static final String LIKE_OPERATOR_NAME
- See Also:
- Constant Field Values
-
NOT_LIKE_OPERATOR_NAME
public static final String NOT_LIKE_OPERATOR_NAME
- See Also:
- Constant Field Values
-
NAME_OPERATOR_MAP
protected static final Map<String,QueryOperator> NAME_OPERATOR_MAP
-
OPERATOR_NAME_MAP
protected static final Map<QueryOperator,String> OPERATOR_NAME_MAP
-
operator
protected String operator
-
value
protected Object value
-
-
Method Detail
-
getOperator
public String getOperator()
-
setOperator
public void setOperator(String operator)
-
resolveValue
public Object resolveValue(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
-
getQueryOperator
public static QueryOperator getQueryOperator(String name)
-
-