Bug 182061 Data engine changes to support result set sharing
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/querydefn/SubqueryDefinition.java
private String name;
	private boolean onGroup;
	/**
	 * Constructs a SubqueryDefn. A name must be provided that uniquely
	 * identifies the subquery within the report query that contains it.
	 * 
	 * This constructor is deprecated for all the sub query definition should be assigned a
	 * parent query.
	 * @deprecated
	 * @param name
	 */
	public SubqueryDefinition( String name )
	{
		super( null );
		this.name = name;
		this.onGroup = true;
	}
	
	/**
	 * Constructs a SubqueryDefn. A name must be provided that uniquely
	 * identifies the subquery within the report query that contains it.
	 * The outer query (parent) can be another query, or a sub query.
	 * @param name
	 */
	public SubqueryDefinition( String name, IBaseQueryDefinition parent )
	{
		super( parent );
		this.name = name;
		this.onGroup = true;
	}