/**
 */
package org.etsi.mts.tdl;

import org.eclipse.emf.common.util.EList;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>Interaction</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * </p>
 * <ul>
 *   <li>{@link org.etsi.mts.tdl.Interaction#getSourceGate <em>Source Gate</em>}</li>
 *   <li>{@link org.etsi.mts.tdl.Interaction#getTarget <em>Target</em>}</li>
 * </ul>
 *
 * @see org.etsi.mts.tdl.tdlPackage#getInteraction()
 * @model
 * @generated
 */
public interface Interaction extends AtomicBehaviour
{
	/**
	 * Returns the value of the '<em><b>Source Gate</b></em>' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Source Gate</em>' reference.
	 * @see #setSourceGate(GateReference)
	 * @see org.etsi.mts.tdl.tdlPackage#getInteraction_SourceGate()
	 * @model required="true"
	 * @generated
	 */
	GateReference getSourceGate();

	/**
	 * Sets the value of the '{@link org.etsi.mts.tdl.Interaction#getSourceGate <em>Source Gate</em>}' reference.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Source Gate</em>' reference.
	 * @see #getSourceGate()
	 * @generated
	 */
	void setSourceGate(GateReference value);

	/**
	 * Returns the value of the '<em><b>Target</b></em>' containment reference list.
	 * The list contents are of type {@link org.etsi.mts.tdl.Target}.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Target</em>' containment reference list.
	 * @see org.etsi.mts.tdl.tdlPackage#getInteraction_Target()
	 * @model containment="true" required="true" ordered="false"
	 * @generated
	 */
	EList<Target> getTarget();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @model kind="operation"
	 *        annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/Pivot body='\n                    if self.getParentTestDescription()-&gt;exists(td | td.isLocallyOrdered) then\n                        self.target\n                        -&gt;collect(targetGate.component)\n                        -&gt;including(sourceGate.component)\n                        -&gt;asOrderedSet()\n                     else\n                        self.getParentTestDescription().testConfiguration.componentInstance-&gt;asOrderedSet()\n                    endif\n                '"
	 *        annotation="http://www.eclipse.org/OCL/Collection nullFree='false'"
	 * @generated
	 */
	EList<ComponentInstance> getParticipatingComponents();

} // Interaction
