Bug 150776 Binding parameters of datasources are not evaluated when datasource in a library
I used to defined a datasource with binding parameters (depending on parameters ...). It works well when datasource is defined in the report, but when i tried to put this datasource in a library, binding expressions are not evaluated or not used by the datasource. When debugging the code, two datasources appears, the initial from the library (module=Library) and the linked from the report (module=ReportDesign). The dataset used the datasource of the report, but no binding values are found on the report datasource. The datasource from the library is evaluated correctly but not used.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/DesignElementHandle.java
* this <code>DesignElementHandle</code>.
	 */
	protected final Module module;
	/**
	 * API slot handle array for all slots of this element.
	 */
	private SlotHandle[] slotHandles = null;
	/**
	 * Constructs a handle with the given module.
	 * 
	 * @param module
	 *            the module
	 */
	public DesignElementHandle( Module module )
	{
		this.module = module;
	}
	/**
	 * Returns the report design only when the module is report design.
	 * Otherwise, null is returned. So this method can also be used to check
	 * whether this element is in report design or library.
	 * 
	 * @return the report design, or null if the module is not report design.
	 * @deprecated replaced by getModule()
	 */
	public ReportDesign getDesign( )
	{
		if ( module instanceof ReportDesign )
			return (ReportDesign) module;
		return null;