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 java.lang.Object
- Author:
- roman.smirnov
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EQUALS_OPERATOR_NAME
static java.lang.String
GREATER_THAN_OPERATOR_NAME
static java.lang.String
GREATER_THAN_OR_EQUALS_OPERATOR_NAME
static java.lang.String
LESS_THAN_OPERATOR_NAME
static java.lang.String
LESS_THAN_OR_EQUALS_OPERATOR_NAME
static java.lang.String
LIKE_OPERATOR_NAME
protected static java.util.Map<java.lang.String,QueryOperator>
NAME_OPERATOR_MAP
static java.lang.String
NOT_EQUALS_OPERATOR_NAME
static java.lang.String
NOT_LIKE_OPERATOR_NAME
protected java.lang.String
operator
protected static java.util.Map<QueryOperator,java.lang.String>
OPERATOR_NAME_MAP
protected java.lang.Object
value
-
Constructor Summary
Constructors Constructor Description ConditionQueryParameterDto()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getOperator()
static QueryOperator
getQueryOperator(java.lang.String name)
java.lang.Object
getValue()
java.lang.Object
resolveValue(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
void
setOperator(java.lang.String operator)
void
setValue(java.lang.Object value)
-
-
-
Field Detail
-
EQUALS_OPERATOR_NAME
public static final java.lang.String EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
NOT_EQUALS_OPERATOR_NAME
public static final java.lang.String NOT_EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
GREATER_THAN_OPERATOR_NAME
public static final java.lang.String GREATER_THAN_OPERATOR_NAME
- See Also:
- Constant Field Values
-
GREATER_THAN_OR_EQUALS_OPERATOR_NAME
public static final java.lang.String GREATER_THAN_OR_EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
LESS_THAN_OPERATOR_NAME
public static final java.lang.String LESS_THAN_OPERATOR_NAME
- See Also:
- Constant Field Values
-
LESS_THAN_OR_EQUALS_OPERATOR_NAME
public static final java.lang.String LESS_THAN_OR_EQUALS_OPERATOR_NAME
- See Also:
- Constant Field Values
-
LIKE_OPERATOR_NAME
public static final java.lang.String LIKE_OPERATOR_NAME
- See Also:
- Constant Field Values
-
NOT_LIKE_OPERATOR_NAME
public static final java.lang.String NOT_LIKE_OPERATOR_NAME
- See Also:
- Constant Field Values
-
NAME_OPERATOR_MAP
protected static final java.util.Map<java.lang.String,QueryOperator> NAME_OPERATOR_MAP
-
OPERATOR_NAME_MAP
protected static final java.util.Map<QueryOperator,java.lang.String> OPERATOR_NAME_MAP
-
operator
protected java.lang.String operator
-
value
protected java.lang.Object value
-
-
Method Detail
-
getOperator
public java.lang.String getOperator()
-
setOperator
public void setOperator(java.lang.String operator)
-
resolveValue
public java.lang.Object resolveValue(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
getValue
public java.lang.Object getValue()
-
setValue
public void setValue(java.lang.Object value)
-
getQueryOperator
public static QueryOperator getQueryOperator(java.lang.String name)
-
-