blob: c94bf65ca88729ef4d7f9b18e11224a66065ed91 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
/*******************************************************************************
* Copyright (c) 2010 protos software gmbh (http://www.protos.de).
* 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:
* Thomas Schuetz and Henrik Rentz-Reichert (initial contribution)
*
*******************************************************************************/
package org.eclipse.etrice.core.genmodel.etricegen;
import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.etrice.core.room.Binding;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Binding Instance</b></em>'.
* In the instance model each binding is turned into (at least one) binding instances. A binding between
* a replicated port and a port of a replicated actor is turned into as many binding instances as
* there are instances in the actor array.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.etrice.core.genmodel.etricegen.BindingInstance#getPorts <em>Ports</em>}</li>
* <li>{@link org.eclipse.etrice.core.genmodel.etricegen.BindingInstance#getBinding <em>Binding</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.etrice.core.genmodel.etricegen.ETriceGenPackage#getBindingInstance()
* @model
* @generated
*/
public interface BindingInstance extends EObject {
/**
* Returns the value of the '<em><b>Ports</b></em>' reference list.
* The list contents are of type {@link org.eclipse.etrice.core.genmodel.etricegen.PortInstance}.
* It is bidirectional and its opposite is '{@link org.eclipse.etrice.core.genmodel.etricegen.PortInstance#getBindings <em>Bindings</em>}'.
* <!-- begin-user-doc -->
* <p>
* This list of {@link PortInstance}s has exactly two members: the two ports that are connected by this binding instance.
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Ports</em>' reference list.
* @see org.eclipse.etrice.core.genmodel.etricegen.ETriceGenPackage#getBindingInstance_Ports()
* @see org.eclipse.etrice.core.genmodel.etricegen.PortInstance#getBindings
* @model opposite="bindings" upper="2"
* @generated
*/
EList<PortInstance> getPorts();
/**
* Returns the value of the '<em><b>Binding</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* A reference to the original binding.
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Binding</em>' reference.
* @see #setBinding(Binding)
* @see org.eclipse.etrice.core.genmodel.etricegen.ETriceGenPackage#getBindingInstance_Binding()
* @model
* @generated
*/
Binding getBinding();
/**
* Sets the value of the '{@link org.eclipse.etrice.core.genmodel.etricegen.BindingInstance#getBinding <em>Binding</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Binding</em>' reference.
* @see #getBinding()
* @generated
*/
void setBinding(Binding value);
} // BindingInstance
|