blob: 22bd36f89c5efed1e6010f61af8061b9b33aecb3 (
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
84
85
86
87
88
89
90
91
92
93
94
95
|
/**
* Copyright (c) 2013 CEA LIST
*
* 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:
* Ansgar Radermacher - Initial API and implementation
*
*/
package org.eclipse.papyrus.FCM;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Template Port</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* Template ports are ports that enable the binding of an extended port with an actual parameter: the resulting port kind is the port kind bound to the current port type.
* For instance, we cound type a port with "MyType" and use an extended port Writer with a template with formal parameter T. Resulting port would be Writer with T bound to MyType.
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* <ul>
* <li>{@link org.eclipse.papyrus.FCM.TemplatePort#getBoundType <em>Bound Type</em>}</li>
* </ul>
* </p>
*
* @see org.eclipse.papyrus.FCM.FCMPackage#getTemplatePort()
* @model
* @generated
*/
public interface TemplatePort extends Port {
/**
* Returns the value of the '<em><b>Bound Type</b></em>' reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Bound Type</em>' reference isn't clear, there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
*
* @return the value of the '<em>Bound Type</em>' reference.
* @see #isSetBoundType()
* @see #unsetBoundType()
* @see #setBoundType(PortKind)
* @see org.eclipse.papyrus.FCM.FCMPackage#getTemplatePort_BoundType()
* @model unsettable="true" transient="true" volatile="true" derived="true" ordered="false"
* @generated
*/
PortKind getBoundType();
/**
* Sets the value of the '{@link org.eclipse.papyrus.FCM.TemplatePort#getBoundType <em>Bound Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @param value
* the new value of the '<em>Bound Type</em>' reference.
* @see #isSetBoundType()
* @see #unsetBoundType()
* @see #getBoundType()
* @generated
*/
void setBoundType(PortKind value);
/**
* Unsets the value of the '{@link org.eclipse.papyrus.FCM.TemplatePort#getBoundType <em>Bound Type</em>}' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @see #isSetBoundType()
* @see #getBoundType()
* @see #setBoundType(PortKind)
* @generated
*/
void unsetBoundType();
/**
* Returns whether the value of the '{@link org.eclipse.papyrus.FCM.TemplatePort#getBoundType <em>Bound Type</em>}' reference is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
*
* @return whether the value of the '<em>Bound Type</em>' reference is set.
* @see #unsetBoundType()
* @see #getBoundType()
* @see #setBoundType(PortKind)
* @generated
*/
boolean isSetBoundType();
} // TemplatePort
|