Bug 189397 Columns for exported should be listed as display order or order in binding pane.[0001]
Description: Columns for exported should be listed as display order or order in binding pane. Build number:2.2.0.v200705281033 Steps to reproduce: 1. New sample db and dataset from OFFICES. 2. Drag the dataset to layout 3. Preview in Web Viewer 4. Click Export Data button. Expected result: Columns are listed as display orders Actual result: Columns are listed in meaningless order. Error log:N/A
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/querydefn/BaseQueryDefinition.java
*/
	BaseQueryDefinition( IBaseQueryDefinition parent )
	{
		parentQuery = parent;
	}
	
	/**
	 * Returns the group definitions as an ordered collection of <code>GroupDefinition</code>
	 * objects. Groups are organizations within the data that support
	 * aggregation, filtering and sorting. Reports use groups to trigger
	 * level breaks.
	 * 
	 * @return the list of groups. If no group is defined, null is returned.
	 */
	
	public List getGroups( )
	{
		return groups;
	}
	/**
	 * Appends a group definition to the group list.
	 * @param group Group definition to add
	 */
	public void addGroup( GroupDefinition group )
	{
	    groups.add( group );
	}
	
	/**
	 * Indicates if the report will use the detail rows. Allows the data