return name + " " + operator + " " + value + " (" + value.getClass().getSimpleName() + ")";
}
public SearchCondition<T> build() throws SearchParseException {
T cond = createTemplate(name, value);
ConditionType ct = OPERATORS_MAP.get(operator);
if (isPrimitive(cond)) {
return new SimpleSearchCondition<T>(ct, cond);
} else {
return new SimpleSearchCondition<T>(Collections.singletonMap(name, ct),