Bug 160193 Parameter name is changed with data type
Steps to reproduce: 1.New a sample data source 2.New a data set with below query: select * from CLASSICMODELS.CUSTOMERS where CLASSICMODELS.CUSTOMERS.CUSTOMERNUMBER = ? 3.Switch to parameters in data set editor, a parameter is created automatically 4.Double click the parameter, click "..." button behind the "Linked to report parameter", note the default name of report parameter is "param1". Click "cancel" to destory "new parameter dialog" 5.Change data set paramter type to Any, and click "..." again Expected result: Default name of report parameter is "param1" Actual result: Default name of report parameter is changed to "NewParameter1"
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/SessionHandle.java
/*******************************************************************************
 * Copyright (c) 2004 Actuate Corporation.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *  Actuate Corporation  - initial API and implementation
 *******************************************************************************/
package org.eclipse.birt.report.model.api;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.util.Iterator;
import java.util.Locale;
import org.eclipse.birt.report.model.api.activity.NotificationEvent;
import org.eclipse.birt.report.model.api.command.LibraryChangeEvent;
import org.eclipse.birt.report.model.api.command.ResourceChangeEvent;
import org.eclipse.birt.report.model.api.core.IResourceChangeListener;
import org.eclipse.birt.report.model.api.metadata.PropertyValueException;
import org.eclipse.birt.report.model.core.DesignSession;
import org.eclipse.birt.report.model.core.Module;
import com.ibm.icu.util.ULocale;
/**
 * Represents the design state -- a session for a user. In the Eclipse
 * environment, this represents the set of open designs. In the web environment,
 * this represents open designs and locale for the session. A session has a set