blob: ca0b7c74db3c90cc3a62502cf2999983de4ee4ce [file] [log] [blame]
/*
* Copyright (c) 2005, 2006 IBM Corporation 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:
* IBM - initial API and implementation
*
* $Id: AcceptCallAction.java,v 1.5 2006/05/26 16:34:03 khussey Exp $
*/
package org.eclipse.uml2.uml;
import java.util.Map;
import org.eclipse.emf.common.util.DiagnosticChain;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Accept Call Action</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* An accept call action is an accept event action representing the receipt of a synchronous call request. In addition to the normal operation parameters, the action produces an output that is needed later to supply the information to the reply action necessary to return control to the caller. This action is for synchronous calls. If it is used to handle an asynchronous call, execution of the subsequent reply action will complete immediately with no effects.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.uml2.uml.AcceptCallAction#getReturnInformation <em>Return Information</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.uml2.uml.UMLPackage#getAcceptCallAction()
* @model
* @generated
*/
public interface AcceptCallAction
extends AcceptEventAction {
/**
* Returns the value of the '<em><b>Return Information</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* Pin where a value is placed containing sufficient information to perform a subsequent reply and return control to the caller. The contents of this value are opaque. It can be passed and copied but it cannot be manipulated by the model.
* <!-- end-model-doc -->
* @return the value of the '<em>Return Information</em>' containment reference.
* @see #setReturnInformation(OutputPin)
* @see org.eclipse.uml2.uml.UMLPackage#getAcceptCallAction_ReturnInformation()
* @model containment="true" resolveProxies="true" required="true" ordered="false"
* @generated
*/
OutputPin getReturnInformation();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.AcceptCallAction#getReturnInformation <em>Return Information</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Return Information</em>' containment reference.
* @see #getReturnInformation()
* @generated
*/
void setReturnInformation(OutputPin value);
/**
* Creates a new {@link org.eclipse.uml2.uml.OutputPin},with the specified '<em><b>Name</b></em>', and '<em><b>Type</b></em>', and sets the '<em><b>Return Information</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param name The '<em><b>Name</b></em>' for the new {@link org.eclipse.uml2.uml.OutputPin}, or <code>null</code>.
* @param type The '<em><b>Type</b></em>' for the new {@link org.eclipse.uml2.uml.OutputPin}, or <code>null</code>.
* @return The new {@link org.eclipse.uml2.uml.OutputPin}.
* @see #getReturnInformation()
* @generated
*/
OutputPin createReturnInformation(String name, Type type);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The result pins must match the in and inout parameters of the operation specified by the trigger event in number, type, and order.
* true
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateResultPins(DiagnosticChain diagnostics, Map context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The trigger event must be a CallEvent.
* trigger.event.oclIsKindOf(CallEvent)
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateTriggerCallEvent(DiagnosticChain diagnostics, Map context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* isUnmrashall must be true for an AcceptCallAction.
* isUnmarshall = true
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateUnmarshall(DiagnosticChain diagnostics, Map context);
} // AcceptCallAction