blob: 5c6d89cc7679fd6d63be5ea5ec5dcb4520db3d2e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2013 E.D.Willink and others.
* 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:
* E.D.Willink - initial API and implementation
*******************************************************************************/
package org.eclipse.qvtd.pivot.qvtimperative;
import org.eclipse.emf.common.util.EList;
import org.eclipse.ocl.pivot.ReferringElement;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Mapping Call</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A MappingCall specifies the invocation of a referredMapping with a set of bindings
* of the bound variables of the referredMapping to values provided in the invocation.
* Where Collections of values are provided for isLoop bindings, a distinct invocation
* is performed for each distinct permutation of Collection elements.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCall#getReferredMapping <em>Referred Mapping</em>}</li>
* <li>{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCall#getBinding <em>Binding</em>}</li>
* </ul>
*
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMappingCall()
* @generated
*/
public interface MappingCall extends MappingStatement, ReferringElement {
/**
* Returns the value of the '<em><b>Referred Mapping</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Referred Mapping</em>' reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The Mapping invoked by the MappingCall.
* <!-- end-model-doc -->
* @return the value of the '<em>Referred Mapping</em>' reference.
* @see #setReferredMapping(Mapping)
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMappingCall_ReferredMapping()
* @generated
*/
Mapping getReferredMapping();
/**
* Sets the value of the '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCall#getReferredMapping <em>Referred Mapping</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Referred Mapping</em>' reference.
* @see #getReferredMapping()
* @generated
*/
void setReferredMapping(Mapping value);
/**
* Returns the value of the '<em><b>Binding</b></em>' containment reference list.
* The list contents are of type {@link org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding}.
* It is bidirectional and its opposite is '{@link org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding#getMappingCall <em>Mapping Call</em>}'.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Binding</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The Set of value to bound variable bindings.
* <!-- end-model-doc -->
* @return the value of the '<em>Binding</em>' containment reference list.
* @see org.eclipse.qvtd.pivot.qvtimperative.QVTimperativePackage#getMappingCall_Binding()
* @see org.eclipse.qvtd.pivot.qvtimperative.MappingCallBinding#getMappingCall
* @generated
*/
EList<MappingCallBinding> getBinding();
} // MappingCall