blob: 13f10ec625a5a906bcd5214d940e3a8c1606b19d [file] [log] [blame]
/**
* 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.ecore.EAttribute;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Feature Map Change</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* This particular kind of difference will be used to describe changes within a multi-valued EFeatureMapEntry attribute.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.emf.compare.FeatureMapChange#getAttribute <em>Attribute</em>}</li>
* <li>{@link org.eclipse.emf.compare.FeatureMapChange#getValue <em>Value</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.emf.compare.ComparePackage#getFeatureMapChange()
* @model
* @generated
* @since 3.2
*/
public interface FeatureMapChange extends Diff {
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @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 '<em><b>Attribute</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The attribute in which "something" changed.
* <!-- end-model-doc -->
* @return the value of the '<em>Attribute</em>' reference.
* @see #setAttribute(EAttribute)
* @see org.eclipse.emf.compare.ComparePackage#getFeatureMapChange_Attribute()
* @model required="true"
* @generated
*/
EAttribute getAttribute();
/**
* Sets the value of the '{@link org.eclipse.emf.compare.FeatureMapChange#getAttribute <em>Attribute</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Attribute</em>' reference.
* @see #getAttribute()
* @generated
*/
void setAttribute(EAttribute value);
/**
* Returns the value of the '<em><b>Value</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* References the actual value on which a difference has been detected.
* <!-- end-model-doc -->
* @return the value of the '<em>Value</em>' attribute.
* @see #setValue(Object)
* @see org.eclipse.emf.compare.ComparePackage#getFeatureMapChange_Value()
* @model
* @generated
*/
Object getValue();
/**
* Sets the value of the '{@link org.eclipse.emf.compare.FeatureMapChange#getValue <em>Value</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Value</em>' attribute.
* @see #getValue()
* @generated
*/
void setValue(Object value);
} // FeatureMapChange