Bug 164586 [compatibility]Preview attached report throws multiple exception[0901]
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java
}
	/**
	 * Adapts the specified Model Data Set to a Data Engine API data set design
	 * object
	 */
	public IBaseDataSetDesign createDataSetDesign( DataSetHandle dataSet )
			throws BirtException
	{
		if ( dataSet instanceof OdaDataSetHandle )
			return newOdaDataSet( ( OdaDataSetHandle ) dataSet,
					context );
		if ( dataSet instanceof ScriptDataSetHandle )
			return newScriptDataSet( ( ScriptDataSetHandle ) dataSet,
					context );
		
		if ( dataSet instanceof JointDataSetHandle )
			return newJointDataSet( (JointDataSetHandle)dataSet, context);
		
		assert false;
		return null;
	}
	
	/**
	 * Define data set and data source in DataEngine
	 * @param dataSet
	 * @param dteEngine
	 * @throws BirtException
	 */
	public void defineDataSet( DataSetHandle dataSet, DataEngine dteEngine )
			throws BirtException