Bug 213907 Provide a copy constructor for SubqueryDefinition.
Engine need a copy constructor to generate a SubqueryDefinition from an ISubqueryDefinition and change the name of the query.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/PreparedQuery.java
private void prepare( ) throws DataException
	{
	    
		Context cx = Context.enter();		
		try
		{
			
			
			
						
			if ( this.baseQueryDefn.getBindings( ) != null
					&& this.baseQueryDefn.getBindings( ).size( ) > 0 )
			{
				this.expressionCompiler.setDataSetMode( false );
			}
			
			List groups = baseQueryDefn.getGroups( );
			Set groupNameSet = new HashSet( );
			IGroupDefinition group;
			for ( int i = 0; i < groups.size( ); i++ )
			{
				group = (IGroupDefinition) groups.get( i );
				if ( group.getName( ) == null
						|| group.getName( ).trim( ).length( ) == 0 )
					continue;
				for ( int j = 0; j < groups.size( ); j++ )
				{
					if ( group.getName( )
							.equals( ( (IGroupDefinition) groups.get( j ) ).getName( ) == null
									? ""