Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/CallBehaviorAction.java')
-rw-r--r--plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/CallBehaviorAction.java93
1 files changed, 93 insertions, 0 deletions
diff --git a/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/CallBehaviorAction.java b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/CallBehaviorAction.java
new file mode 100644
index 00000000..d88f9ec3
--- /dev/null
+++ b/plugins/org.eclipse.uml2.uml/src/org/eclipse/uml2/uml/CallBehaviorAction.java
@@ -0,0 +1,93 @@
+/*
+ * Copyright (c) 2005 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: CallBehaviorAction.java,v 1.1 2005/11/14 22:26:01 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>Call Behavior Action</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <!-- begin-model-doc -->
+ * CallBehaviorAction is a call action that invokes a behavior directly rather than invoking a behavioral feature that, in turn, results in the invocation of that behavior. The argument values of the action are available to the execution of the invoked behavior. For synchronous calls the execution of the call behavior action waits until the execution of the invoked behavior completes and a result is returned on its output pin. The action completes immediately without a result, if the call is asynchronous. In particular, the invoked behavior may be an activity.
+ * <!-- end-model-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * <ul>
+ * <li>{@link org.eclipse.uml2.uml.CallBehaviorAction#getBehavior <em>Behavior</em>}</li>
+ * </ul>
+ * </p>
+ *
+ * @see org.eclipse.uml2.uml.UMLPackage#getCallBehaviorAction()
+ * @model
+ * @generated
+ */
+public interface CallBehaviorAction
+ extends CallAction {
+
+ /**
+ * Returns the value of the '<em><b>Behavior</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The invoked behavior. It must be capable of accepting and returning control.
+ * <!-- end-model-doc -->
+ * @return the value of the '<em>Behavior</em>' reference.
+ * @see #setBehavior(Behavior)
+ * @see org.eclipse.uml2.uml.UMLPackage#getCallBehaviorAction_Behavior()
+ * @model required="true" ordered="false"
+ * @generated
+ */
+ Behavior getBehavior();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.uml2.uml.CallBehaviorAction#getBehavior <em>Behavior</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Behavior</em>' reference.
+ * @see #getBehavior()
+ * @generated
+ */
+ void setBehavior(Behavior value);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The number of argument pins and the number of parameters of the behavior of type in and in-out must be equal.
+ * true
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ boolean validateArgumentPinEqualParameter(DiagnosticChain diagnostics,
+ Map context);
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * <!-- begin-model-doc -->
+ * The number of result pins and the number of parameters of the behavior of type return, out, and in-out must be equal.
+ * true
+ * <!-- end-model-doc -->
+ * @model
+ * @generated
+ */
+ boolean validateResultPinEqualParameter(DiagnosticChain diagnostics,
+ Map context);
+
+} // CallBehaviorAction

Back to the top