case IScalarParameterDefn.TYPE_STRING: value = DataTypeUtil.toString(value); break; default: break;
	private Object evaluateDefault(ScalarParameterDefn p, String expr)	{		Object value = null;		int type = p.getDataType();				// evaluate the default value expression		if (expr != null)		{			value = executionContext.evaluate(expr);			if( value == null && expr != null && expr.length() > 0)				value = expr;			try			{				switch (type)				{					case IScalarParameterDefn.TYPE_BOOLEAN :						value = DataTypeUtil.toBoolean(value);						break;					case IScalarParameterDefn.TYPE_DATE_TIME :						value = DataTypeUtil.toDate(value);						break;					case IScalarParameterDefn.TYPE_DECIMAL :						value = DataTypeUtil.toBigDecimal(value);						break;					case IScalarParameterDefn.TYPE_FLOAT :						value = DataTypeUtil.toDouble(value);						break;				}				}			catch (BirtException e)			{				log.log(Level.SEVERE, e.getLocalizedMessage(), e);				value = null;			}		}				return value;	}