blob: bebf64f56f6a4d3abbaa326bd7750b423326f8a8 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2017 CEA LIST.
*
* 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:
* CEA LIST - Initial API and implementation
*******************************************************************************/
package org.eclipse.papyrus.requirements.reqif.util;
import java.util.ArrayList;
import java.util.HashSet;
import org.eclipse.uml2.uml.Element;
public interface IRequirementMerger {
/**
*
* @return the list that must be deleted during merge
*/
public ArrayList<Element> getElementToDelete();
/**
*
* @return the list of added element during merge
*/
public ArrayList<Element> getAddedElements();
/**
*
* @param copyAllPropertyValues
* is an option. true means that the user wants to copy the name
* and all the stereotype values. This option disables the
* changeableProperty parameter.
* @param deleteFromBase
* is an option. True means that element that not match with right will be removed
* @return true merge finishes successfully
*/
boolean merge();
public HashSet<Element> getModifiedElement();
}