DataSourceHandle dataSource = dataSet.getDataSource( ); ModelDteApiAdapter adaptor = new ModelDteApiAdapter( context, context .getSharedScope( ) );
	public void defineDataSet( DataSetHandle dataSet )	{		// Define data source and data set		DataSourceHandle dataSource = dataSet.getDataSource( );		ModelDteApiAdapter adaptor = new ModelDteApiAdapter( context, context				.getSharedScope( ) );		try		{			if ( dataSource != null )			{				doDefineDataSource( adaptor, dataSource );			}			doDefineDataSet( adaptor, dataSet );		}		catch ( BirtException e )		{			logger.log( Level.SEVERE, e.getMessage( ) );		}	}