source = JavascriptEvalUtil.convertJavascriptValue( source );
	public static Object convert( Object source, int toType )			throws BirtException	{		if ( source == null )			return null;				// here we assume the efficiency of if else is higher than switch case		if ( toType == DataType.UNKNOWN_TYPE || toType == DataType.ANY_TYPE )			return source;				switch ( toType )		{			case DataType.INTEGER_TYPE :				return toInteger( source );			case DataType.DECIMAL_TYPE :				return toBigDecimal( source );			case DataType.BOOLEAN_TYPE :				return toBoolean( source );			case DataType.DATE_TYPE :				return toDate( source );			case DataType.DOUBLE_TYPE :				return toDouble( source );			case DataType.STRING_TYPE :				return toString( source );			case DataType.BLOB_TYPE :				return toBlob( source );			case DataType.BINARY_TYPE :				return toBytes( source );			default :				throw new BirtException( pluginId, ResourceConstants.INVALID_TYPE,						resourceBundle );		}	}