case DataType.BOOLEAN_TYPE : return type.equals( DesignChoiceConstants.PARAM_TYPE_BOOLEAN ); case DataType.INTEGER_TYPE : return type.equals( DesignChoiceConstants.PARAM_TYPE_DECIMAL ) || type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT ); case DataType.DATE_TYPE : return type.equals( DesignChoiceConstants.PARAM_TYPE_DATETIME ); case DataType.DECIMAL_TYPE : return type.equals( DesignChoiceConstants.PARAM_TYPE_DECIMAL ) || type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT ); case DataType.DOUBLE_TYPE : return type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT );
return DesignChoiceConstants.COLUMN_DATA_TYPE_ANY.equals( columnHandle.getDataType( ) ); } else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) ) { return DesignChoiceConstants.COLUMN_DATA_TYPE_DATETIME.equals( columnHandle.getDataType( ) ); } else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type ) ) { return DesignChoiceConstants.COLUMN_DATA_TYPE_DECIMAL.equals( columnHandle.getDataType( ) ); } else if ( DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) ) { return DesignChoiceConstants.COLUMN_DATA_TYPE_FLOAT.equals( columnHandle.getDataType( ) );
	private boolean matchDataType( ScalarParameterHandle handle,			DataSetItemModel column )	{		if ( column.getDataType( ) == DataType.UNKNOWN_TYPE )		{			return false;		}		String type = handle.getDataType( );		if ( handle == selectedParameter )		{			type = getSelectedDataType( );		}		if ( type.equals( DesignChoiceConstants.PARAM_TYPE_STRING ) )		{			return true;		}		switch ( column.getDataType( ) )		{			case DataType.BOOLEAN_TYPE :				return type.equals( DesignChoiceConstants.PARAM_TYPE_BOOLEAN );			case DataType.INTEGER_TYPE :				return type.equals( DesignChoiceConstants.PARAM_TYPE_DECIMAL )						|| type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT );			case DataType.DATE_TYPE :				return type.equals( DesignChoiceConstants.PARAM_TYPE_DATETIME );			case DataType.DECIMAL_TYPE :				return type.equals( DesignChoiceConstants.PARAM_TYPE_DECIMAL )						|| type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT );			case DataType.DOUBLE_TYPE :				return type.equals( DesignChoiceConstants.PARAM_TYPE_FLOAT );		}		return false;	}