/** * Copyright (c) 2012 Obeo. * 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: * Obeo - initial API and implementation */ package org.eclipse.emf.compare; import org.eclipse.emf.common.util.EList; import org.eclipse.emf.ecore.EObject; /** * * A representation of the model object 'Equivalence'. * * * * Diffs are considered equivalent if merging one is enough to resolve both differences. For example, if a reference has an eOpposite, we will detect one diff for each side of the bidirectional reference, yet merging one of these diffs will automatically update the model in such a way that the second diff is "merged". * * *

* The following features are supported: *

*

* * @see org.eclipse.emf.compare.ComparePackage#getEquivalence() * @model * @generated */ public interface Equivalence extends EObject { /** * * * @generated */ String copyright = "Copyright (c) 2012 Obeo.\r\nAll rights reserved. This program and the accompanying materials\r\nare made available under the terms of the Eclipse Public License v1.0\r\nwhich accompanies this distribution, and is available at\r\nhttp://www.eclipse.org/legal/epl-v10.html\r\n\r\nContributors:\r\n Obeo - initial API and implementation"; //$NON-NLS-1$ /** * Returns the value of the 'Differences' reference list. * The list contents are of type {@link org.eclipse.emf.compare.Diff}. * It is bidirectional and its opposite is '{@link org.eclipse.emf.compare.Diff#getEquivalence Equivalence}'. * * * * References the n diffs composing this equivalence. There are at least two diffs in this list. * * @return the value of the 'Differences' reference list. * @see org.eclipse.emf.compare.ComparePackage#getEquivalence_Differences() * @see org.eclipse.emf.compare.Diff#getEquivalence * @model opposite="equivalence" lower="2" * @generated */ EList getDifferences(); } // Equivalence