blob: 20aaf32c9691229badafc8d2bca45650384e54de [file] [log] [blame]
/**
* Copyright (c) 2010, 2019 Mia-Software and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* Nicolas Payneau (Mia-Software) - initial API and implementation
*/
package org.eclipse.modisco.omg.smm;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Equivalent Measure Relationship</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.modisco.omg.smm.EquivalentMeasureRelationship#getMapping <em>Mapping</em>}</li>
* <li>{@link org.eclipse.modisco.omg.smm.EquivalentMeasureRelationship#getFrom <em>From</em>}</li>
* <li>{@link org.eclipse.modisco.omg.smm.EquivalentMeasureRelationship#getTo <em>To</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.modisco.omg.smm.SmmPackage#getEquivalentMeasureRelationship()
* @model
* @generated
*/
public interface EquivalentMeasureRelationship extends MeasureRelationship {
/**
* Returns the value of the '<em><b>Mapping</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Mapping</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Mapping</em>' reference.
* @see #setMapping(Operation)
* @see org.eclipse.modisco.omg.smm.SmmPackage#getEquivalentMeasureRelationship_Mapping()
* @model
* @generated
*/
Operation getMapping();
/**
* Sets the value of the '{@link org.eclipse.modisco.omg.smm.EquivalentMeasureRelationship#getMapping <em>Mapping</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Mapping</em>' reference.
* @see #getMapping()
* @generated
*/
void setMapping(Operation value);
/**
* Returns the value of the '<em><b>From</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.omg.smm.Measure#getEquivalentTo <em>Equivalent To</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>From</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>From</em>' reference.
* @see #setFrom(Measure)
* @see org.eclipse.modisco.omg.smm.SmmPackage#getEquivalentMeasureRelationship_From()
* @see org.eclipse.modisco.omg.smm.Measure#getEquivalentTo
* @model opposite="equivalentTo" required="true"
* @generated
*/
Measure getFrom();
/**
* Sets the value of the '{@link org.eclipse.modisco.omg.smm.EquivalentMeasureRelationship#getFrom <em>From</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>From</em>' reference.
* @see #getFrom()
* @generated
*/
void setFrom(Measure value);
/**
* Returns the value of the '<em><b>To</b></em>' reference.
* It is bidirectional and its opposite is '{@link org.eclipse.modisco.omg.smm.Measure#getEquivalentFrom <em>Equivalent From</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>To</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>To</em>' reference.
* @see #setTo(Measure)
* @see org.eclipse.modisco.omg.smm.SmmPackage#getEquivalentMeasureRelationship_To()
* @see org.eclipse.modisco.omg.smm.Measure#getEquivalentFrom
* @model opposite="equivalentFrom" required="true"
* @generated
*/
Measure getTo();
/**
* Sets the value of the '{@link org.eclipse.modisco.omg.smm.EquivalentMeasureRelationship#getTo <em>To</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>To</em>' reference.
* @see #getTo()
* @generated
*/
void setTo(Measure value);
} // EquivalentMeasureRelationship