Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java')
-rw-r--r--extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java101
1 files changed, 14 insertions, 87 deletions
diff --git a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java
index 72136245790..10e790d4de5 100644
--- a/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java
+++ b/extraplugins/eastadl/org.eclipse.papyrus.eastadl/src/org/eclipse/papyrus/eastadl/structure/functionmodeling/FunctionConnector.java
@@ -16,25 +16,22 @@
package org.eclipse.papyrus.eastadl.structure.functionmodeling;
import org.eclipse.emf.common.util.EList;
+import org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef;
+import org.eclipse.papyrus.eastadl.infrastructure.elements.EAConnector;
import org.eclipse.papyrus.eastadl.infrastructure.elements.EAElement;
-import org.eclipse.uml2.uml.Connector;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Function Connector</b></em>'.
* <!-- end-user-doc -->
- *
+ *
* <!-- begin-model-doc -->
* The FunctionConnector indicates that the connected FunctionPorts exchange signals or client-server requests/responses.
*
* Semantics:
- * The FunctionConnector connects a pair of FunctionFlowPorts or FunctionClientServerPorts. If two FunctionFlowPorts are connected, data elements of
- * the type of the output FunctionFlowPort flow from the output FunctionFlowPort to the input FunctionFlowPort. If FunctionClientServerPorts are
- * connected, the client calls the server according to the operations of the interfaces. The occurrence of the FunctionType that specifies the
- * occurrence of the FunctionPrototype has to be identified by the FunctionConnector as well.
- * The FunctionConnector is normally routed according to the hardware topology and the allocation of source and destination. If there are redundant
- * paths, a FunctionAllocation may be used to prescribe allocation.
+ * The FunctionConnector connects a pair of FunctionFlowPorts or FunctionClientServerPorts. If two FunctionFlowPorts are connected, data elements of the type of the output FunctionFlowPort flow from the output FunctionFlowPort to the input FunctionFlowPort. If FunctionClientServerPorts are connected, the client calls the server according to the operations of the interfaces. The occurrence of the FunctionType that specifies the occurrence of the FunctionPrototype has to be identified by the FunctionConnector as well.
+ * The FunctionConnector is normally routed according to the hardware topology and the allocation of source and destination. If there are redundant paths, a FunctionAllocation may be used to prescribe allocation.
*
*
* Constraints:
@@ -52,99 +49,29 @@ import org.eclipse.uml2.uml.Connector;
*
* Extension: UML Connector
* <!-- end-model-doc -->
- *
+ *
* <p>
* The following features are supported:
* <ul>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort <em>Port</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getBase_Connector <em>Base Connector</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort1_path <em>Port1 path</em>}</li>
- * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort2_path <em>Port2 path</em>}</li>
+ * <li>{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getPort <em>Port</em>}</li>
* </ul>
* </p>
- *
+ *
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionConnector()
* @model
* @generated
*/
-public interface FunctionConnector extends EAElement, AllocateableElement {
-
+public interface FunctionConnector extends EAElement, EAConnector, AllocateableElement {
/**
- * Returns the value of the '<em><b>Port</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPort}.
+ * Returns the value of the '<em><b>Port</b></em>' containment reference list.
+ * The list contents are of type {@link org.eclipse.papyrus.eastadl.infrastructure.FunctionConnectorPortInstanceRef}.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * <!-- begin-model-doc -->
- * The ports that are connected by this connector.
- * {derived from UML::Connector::end}
- * <!-- end-model-doc -->
- *
- * @return the value of the '<em>Port</em>' reference list.
+ * @return the value of the '<em>Port</em>' containment reference list.
* @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionConnector_Port()
- * @model upper="2" transient="true" changeable="false" volatile="true" derived="true" ordered="false"
- * @generated
- */
- EList<FunctionPort> getPort();
-
- /**
- * Returns the value of the '<em><b>Base Connector</b></em>' reference.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Base Connector</em>' reference isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Base Connector</em>' reference.
- * @see #setBase_Connector(Connector)
- * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionConnector_Base_Connector()
- * @model required="true" ordered="false"
- * @generated
- */
- Connector getBase_Connector();
-
- /**
- * Sets the value of the '{@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionConnector#getBase_Connector
- * <em>Base Connector</em>}' reference.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- *
- * @param value
- * the new value of the '<em>Base Connector</em>' reference.
- * @see #getBase_Connector()
- * @generated
- */
- void setBase_Connector(Connector value);
-
- /**
- * Returns the value of the '<em><b>Port1 path</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Port1 path</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Port1 path</em>' reference list.
- * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionConnector_Port1_path()
- * @model
- * @generated
- */
- EList<FunctionPrototype> getPort1_path();
-
- /**
- * Returns the value of the '<em><b>Port2 path</b></em>' reference list.
- * The list contents are of type {@link org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionPrototype}.
- * <!-- begin-user-doc -->
- * <p>
- * If the meaning of the '<em>Port2 path</em>' reference list isn't clear, there really should be more of a description here...
- * </p>
- * <!-- end-user-doc -->
- *
- * @return the value of the '<em>Port2 path</em>' reference list.
- * @see org.eclipse.papyrus.eastadl.structure.functionmodeling.FunctionmodelingPackage#getFunctionConnector_Port2_path()
- * @model
+ * @model containment="true" lower="2" upper="2" ordered="false"
* @generated
*/
- EList<FunctionPrototype> getPort2_path();
+ EList<FunctionConnectorPortInstanceRef> getPort();
} // FunctionConnector

Back to the top