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;
try { ModelDteApiAdapter tmpAdaptor = new ModelDteApiAdapter( context, null ); return tmpAdaptor.createDataSetDesign( dataSet ); } catch ( BirtException e ) { throw new EngineException( e.getLocalizedMessage( ) ); }
	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);		// any other types are not supported		assert false;		return null;	}