public class ConditionQueryParameterDto extends Object
Modifier and Type | Field and 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 |
protected String |
operator |
protected static Map<QueryOperator,String> |
OPERATOR_NAME_MAP |
protected Object |
value |
Constructor and Description |
---|
ConditionQueryParameterDto() |
Modifier and Type | Method and 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) |
public static final String EQUALS_OPERATOR_NAME
public static final String NOT_EQUALS_OPERATOR_NAME
public static final String GREATER_THAN_OPERATOR_NAME
public static final String GREATER_THAN_OR_EQUALS_OPERATOR_NAME
public static final String LESS_THAN_OPERATOR_NAME
public static final String LESS_THAN_OR_EQUALS_OPERATOR_NAME
public static final String LIKE_OPERATOR_NAME
protected static final Map<String,QueryOperator> NAME_OPERATOR_MAP
protected static final Map<QueryOperator,String> OPERATOR_NAME_MAP
protected String operator
protected Object value
public String getOperator()
public void setOperator(String operator)
public Object resolveValue(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
public Object getValue()
public void setValue(Object value)
public static QueryOperator getQueryOperator(String name)
Copyright © 2021. All rights reserved.