@Override void doSetValueAsQueryToken(String theQualifier, String theValue) { if (isBlank(theValue)) { myLeftType.setValueAsQueryToken(theQualifier, ""); myRightType.setValueAsQueryToken(theQualifier, ""); } else { List<String> parts = ParameterUtil.splitParameterString(theValue, '$', false); if (parts.size() > 2) { throw new InvalidRequestException( "Invalid value for composite parameter (only one '$' is valid for this parameter, others must be escaped). Value was: " + theValue); } myLeftType.setValueAsQueryToken(theQualifier, parts.get(0)); if (parts.size() > 1) { myRightType.setValueAsQueryToken(theQualifier, parts.get(1)); } } }
protected String handleShortChar(String propertyName, String value, Integer size) { ShortCharHandlingMode mode = getShortCharHandlingMode(propertyName, value, size); return ParameterUtil.handleShortChar(propertyName, value, size, mode); }
protected String convertEmptyToNull(String value) { return ParameterUtil.convertEmptyToNull(value); }