Bug 121003 Data source property binding error
When there are two data source property binding, the second binding cannot be set.The exception will be reported: org.eclipse.birt.report.model.api.metadata.PropertyValueException: The value "odaDataSource" already exists. at org.eclipse.birt.report.model.api.validators.StructureListValidator.doCheckStructureList(StructureListValidator.java:223) at org.eclipse.birt.report.model.api.validators.StructureListValidator.validateForAdding(StructureListValidator.java:96) at org.eclipse.birt.report.model.core.DesignElement.checkStructureList(DesignElement.java:2642) at org.eclipse.birt.report.model.command.PropertyCommand.addItem(PropertyCommand.java:444) at org.eclipse.birt.report.model.api.DesignElementHandle.setPropertyBinding(DesignElementHandle.java:2086) at org.eclipse.birt.report.designer.internal.ui.dialogs.DataSourcePropertyBindingPage.performOk(DataSourcePropertyBindingPage.java:192)
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/validators/StructureListValidator.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.validators;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import org.eclipse.birt.report.model.api.DesignElementHandle;