/** * Returns the boolean value of allowMumble properties. Only support "allowNull" and "allowBlank" * properties. * * <p>"allowMumble" properties has been removed ROM. However, to do conversion, still need to know * their values. * * @param param the parameter * @param propName either "allowNull" or "allowBlank". * @return <code>true</code> if the parameter allows the value. Otherwise <code>false</code>. */ protected boolean getReportParamAllowMumble( AbstractScalarParameterHandle param, String propName) { if (ALLOW_NULL_PROP_NAME.equalsIgnoreCase(propName) || ALLOW_BLANK_PROP_NAME.equalsIgnoreCase(propName)) return !param.isRequired(); assert false; return false; }