-
Notifications
You must be signed in to change notification settings - Fork 85
/
Part.java
227 lines (162 loc) · 10.5 KB
/
Part.java
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/*******************************************************************************
* Copyright (c) 2006, 2020 THALES GLOBAL SERVICES.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Contributors:
* Thales - initial API and implementation
*******************************************************************************/
package org.polarsys.capella.core.data.cs;
import org.eclipse.emf.common.util.EList;
import org.polarsys.capella.common.data.modellingcore.AbstractType;
import org.polarsys.capella.common.data.modellingcore.InformationsExchanger;
import org.polarsys.capella.core.data.information.AbstractInstance;
/**
* <!-- begin-user-doc -->
* A representation of the model object '<em><b>Part</b></em>'.
* <!-- end-user-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.polarsys.capella.core.data.cs.Part#getProvidedInterfaces <em>Provided Interfaces</em>}</li>
* <li>{@link org.polarsys.capella.core.data.cs.Part#getRequiredInterfaces <em>Required Interfaces</em>}</li>
* <li>{@link org.polarsys.capella.core.data.cs.Part#getOwnedDeploymentLinks <em>Owned Deployment Links</em>}</li>
* <li>{@link org.polarsys.capella.core.data.cs.Part#getDeployedParts <em>Deployed Parts</em>}</li>
* <li>{@link org.polarsys.capella.core.data.cs.Part#getDeployingParts <em>Deploying Parts</em>}</li>
* <li>{@link org.polarsys.capella.core.data.cs.Part#getOwnedAbstractType <em>Owned Abstract Type</em>}</li>
* </ul>
*
* @see org.polarsys.capella.core.data.cs.CsPackage#getPart()
* @model annotation="http://www.polarsys.org/capella/2007/BusinessInformation Label='PhysicalPart'"
* annotation="http://www.polarsys.org/capella/2007/UML2Mapping metaclass='Property' stereotype='eng.PhysicalPart'"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='In SysML, a Part is an owned property of a Block\r\n[source: SysML glossary for SysML v1.0]' usage\040guideline='n/a' used\040in\040levels='operational,system,logical,physical,epbs' usage\040examples='n/a' constraints='none' comment/notes='none' reference\040documentation='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='' base\040metaclass\040in\040UML/SysML\040profile\040='' explanation='should be mapped to uml::Property, but one of its concrete ancestors already is (Property), so avoid redefining it\r\nat this level to avoid profile generation issue' constraints='information::Property must have as base metaclass uml::Property'"
* annotation="http://www.polarsys.org/capella/semantic"
* @generated
*/
public interface Part extends AbstractInstance, InformationsExchanger, DeployableElement, DeploymentTarget, AbstractPathInvolvedElement {
/**
* Returns the value of the '<em><b>Provided Interfaces</b></em>' reference list.
* The list contents are of type {@link org.polarsys.capella.core.data.cs.Interface}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Provided Interfaces</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>Provided Interfaces</em>' reference list.
* @see org.polarsys.capella.core.data.cs.CsPackage#getPart_ProvidedInterfaces()
* @model transient="true" changeable="false" volatile="true" derived="true"
* annotation="http://www.polarsys.org/capella/2007/BusinessInformation Label='providedInterfaces'"
* annotation="http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment"
* annotation="http://www.polarsys.org/capella/derived viatra.variant='patternbody' viatra.expression='Part.type(self, component);\r\nComponent.providedInterfaces(component, target);'"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='(computed) the provided interfaces associated to the classifier that this part represents\r\n[source: Capella study]\r\n\r\nThe interfaces that the component exposes to its environment.\r\n[source: UML superstructure v2.2]' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='keyword::none' explanation='Derived and transient' constraints='none'"
* @generated
*/
EList<Interface> getProvidedInterfaces();
/**
* Returns the value of the '<em><b>Required Interfaces</b></em>' reference list.
* The list contents are of type {@link org.polarsys.capella.core.data.cs.Interface}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Required Interfaces</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>Required Interfaces</em>' reference list.
* @see org.polarsys.capella.core.data.cs.CsPackage#getPart_RequiredInterfaces()
* @model transient="true" changeable="false" volatile="true" derived="true"
* annotation="http://www.polarsys.org/capella/2007/BusinessInformation Label='requiredInterfaces'"
* annotation="http://www.polarsys.org/capella/2007/ImpactAnalysis/Segment"
* annotation="http://www.polarsys.org/capella/derived viatra.variant='patternbody' viatra.expression='Part.type(self, component);\r\nComponent.requiredInterfaces(component, target);'"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='(computed) the required interfaces associated to the classifier that this part represents\r\n[source: Capella study]\r\n\r\nThe interfaces that the component requires from other components in its environment in order to be able to offer\r\nits full set of provided functionality\r\n[source: UML superstructure v2.2]' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='keyword::none' explanation='Derived and transient' constraints='none'"
* @generated
*/
EList<Interface> getRequiredInterfaces();
/**
* Returns the value of the '<em><b>Owned Deployment Links</b></em>' containment reference list.
* The list contents are of type {@link org.polarsys.capella.core.data.cs.AbstractDeploymentLink}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Deployment Links</em>' containment reference list isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owned Deployment Links</em>' containment reference list.
* @see org.polarsys.capella.core.data.cs.CsPackage#getPart_OwnedDeploymentLinks()
* @model containment="true" resolveProxies="true"
* annotation="http://www.polarsys.org/kitalpha/ecore/documentation description='Deployment relationships that are stored/owned under this part' constraints='none' comment/notes='none'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='keyword::none' explanation='none' constraints='none'"
* @generated
*/
EList<AbstractDeploymentLink> getOwnedDeploymentLinks();
/**
* Returns the value of the '<em><b>Deployed Parts</b></em>' reference list.
* The list contents are of type {@link org.polarsys.capella.core.data.cs.Part}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Deployed Parts</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>Deployed Parts</em>' reference list.
* @see org.polarsys.capella.core.data.cs.CsPackage#getPart_DeployedParts()
* @model transient="true" changeable="false" volatile="true" derived="true"
* annotation="http://www.polarsys.org/capella/derived viatra.variant='alias' viatra.expression='deploymentLinks.deployedElement'"
* annotation="http://www.polarsys.org/capella/semantic"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='keyword::none' explanation='Derived and transient' constraints='none'"
* @generated
*/
EList<Part> getDeployedParts();
/**
* Returns the value of the '<em><b>Deploying Parts</b></em>' reference list.
* The list contents are of type {@link org.polarsys.capella.core.data.cs.Part}.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Deploying Parts</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>Deploying Parts</em>' reference list.
* @see org.polarsys.capella.core.data.cs.CsPackage#getPart_DeployingParts()
* @model transient="true" changeable="false" volatile="true" derived="true"
* annotation="http://www.polarsys.org/capella/derived viatra.variant='alias' viatra.expression='deployingLinks.location'"
* annotation="http://www.polarsys.org/capella/semantic excludefrom='xmlpivot'"
* annotation="http://www.polarsys.org/capella/MNoE/CapellaLike/Mapping UML/SysML\040semantic\040equivalences='keyword::none' explanation='Derived and transient' constraints='none'"
* @generated
*/
EList<Part> getDeployingParts();
/**
* Returns the value of the '<em><b>Owned Abstract Type</b></em>' containment reference.
* <!-- begin-user-doc -->
* <p>
* If the meaning of the '<em>Owned Abstract Type</em>' containment reference isn't clear,
* there really should be more of a description here...
* </p>
* <!-- end-user-doc -->
* @return the value of the '<em>Owned Abstract Type</em>' containment reference.
* @see #setOwnedAbstractType(AbstractType)
* @see org.polarsys.capella.core.data.cs.CsPackage#getPart_OwnedAbstractType()
* @model containment="true" resolveProxies="true"
* annotation="http://www.polarsys.org/capella/semantic"
* @generated
*/
AbstractType getOwnedAbstractType();
/**
* Sets the value of the '{@link org.polarsys.capella.core.data.cs.Part#getOwnedAbstractType <em>Owned Abstract Type</em>}' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Owned Abstract Type</em>' containment reference.
* @see #getOwnedAbstractType()
* @generated
*/
void setOwnedAbstractType(AbstractType value);
} // Part