Bug 168026 Still use the existing data binding even though the aggregate is different
I had a table in which a data binding which aggregates on a group. When I insert a new data item in the report, although the expressions are same, it aggregates on All, then it refered to the existing data binding. The expected behavior would be a new data binding is created with different aggregates.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ReportItemHandle.java
import org.eclipse.birt.report.model.util.UnusedBoundColumnsMgr;
/**
 * Represents a report item: any element that can appear within a section of the
 * report. Report items have a size and position that are used in some
 * containers. Report items also have a style. Report items can references to
 * the data set to use for itself. Many report items can be the target of
 * hyperlinks. The bookmark property identifies the item location. It also has a
 * set of visibility rules that say when a report item should be hidden. The
 * bindings allow a report item to pass data into its data source. Call
 * {@link DesignElementHandle#getPrivateStyle}( ) to get a handle with
 * getter/setter methods for the style properties.
 * 
 * @see org.eclipse.birt.report.model.elements.ReportItem
 */
public abstract class ReportItemHandle extends ReportElementHandle
		implements
			IReportItemModel,
			IStyledElementModel
{
	/**
	 * Constructs the handle for a report item with the given design and
	 * element. The application generally does not create handles directly.
	 * Instead, it uses one of the navigation methods available on other element
	 * handles.
	 * 
	 * @param module
	 *            the module
	 * @param element
	 *            the model representation of the element
	 */