/
DeploymentSpecification.java
217 lines (201 loc) · 8.17 KB
/
DeploymentSpecification.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
/*
* Copyright (c) 2005, 2018 IBM Corporation, CEA, and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v2.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v20.html
*
* Contributors:
* IBM - initial API and implementation
* Kenn Hussey (CEA) - 327039, 418466, 451350
* Christian W. Damus (CEA) - 251963
* Kenn Hussey - 535301
*
*/
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>Deployment Specification</b></em>'.
* <!-- end-user-doc -->
*
* <!-- begin-model-doc -->
* A deployment specification specifies a set of properties that determine execution parameters of a component artifact that is deployed on a node. A deployment specification can be aimed at a specific type of container. An artifact that reifies or implements deployment specification properties is a deployment descriptor.
* <p>From package UML::Deployments.</p>
* <!-- end-model-doc -->
*
* <p>
* The following features are supported:
* </p>
* <ul>
* <li>{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation <em>Deployment Location</em>}</li>
* <li>{@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation <em>Execution Location</em>}</li>
* <li>{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeployment <em>Deployment</em>}</li>
* </ul>
*
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification()
* @model
* @generated
*/
public interface DeploymentSpecification
extends Artifact {
/**
* Returns the value of the '<em><b>Deployment Location</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The location where an Artifact is deployed onto a Node. This is typically a 'directory' or 'memory address.'
* <p>From package UML::Deployments.</p>
* <!-- end-model-doc -->
* @return the value of the '<em>Deployment Location</em>' attribute.
* @see #isSetDeploymentLocation()
* @see #unsetDeploymentLocation()
* @see #setDeploymentLocation(String)
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification_DeploymentLocation()
* @model unsettable="true" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getDeploymentLocation();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation <em>Deployment Location</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Deployment Location</em>' attribute.
* @see #isSetDeploymentLocation()
* @see #unsetDeploymentLocation()
* @see #getDeploymentLocation()
* @generated
*/
void setDeploymentLocation(String value);
/**
* Unsets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation <em>Deployment Location</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetDeploymentLocation()
* @see #getDeploymentLocation()
* @see #setDeploymentLocation(String)
* @generated
*/
void unsetDeploymentLocation();
/**
* Returns whether the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeploymentLocation <em>Deployment Location</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Deployment Location</em>' attribute is set.
* @see #unsetDeploymentLocation()
* @see #getDeploymentLocation()
* @see #setDeploymentLocation(String)
* @generated
*/
boolean isSetDeploymentLocation();
/**
* Returns the value of the '<em><b>Execution Location</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The location where a component Artifact executes. This may be a local or remote location.
* <p>From package UML::Deployments.</p>
* <!-- end-model-doc -->
* @return the value of the '<em>Execution Location</em>' attribute.
* @see #isSetExecutionLocation()
* @see #unsetExecutionLocation()
* @see #setExecutionLocation(String)
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification_ExecutionLocation()
* @model unsettable="true" dataType="org.eclipse.uml2.types.String" ordered="false"
* @generated
*/
String getExecutionLocation();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation <em>Execution Location</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Execution Location</em>' attribute.
* @see #isSetExecutionLocation()
* @see #unsetExecutionLocation()
* @see #getExecutionLocation()
* @generated
*/
void setExecutionLocation(String value);
/**
* Unsets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation <em>Execution Location</em>}' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @see #isSetExecutionLocation()
* @see #getExecutionLocation()
* @see #setExecutionLocation(String)
* @generated
*/
void unsetExecutionLocation();
/**
* Returns whether the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getExecutionLocation <em>Execution Location</em>}' attribute is set.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @return whether the value of the '<em>Execution Location</em>' attribute is set.
* @see #unsetExecutionLocation()
* @see #getExecutionLocation()
* @see #setExecutionLocation(String)
* @generated
*/
boolean isSetExecutionLocation();
/**
* Returns the value of the '<em><b>Deployment</b></em>' container reference.
* It is bidirectional and its opposite is '{@link org.eclipse.uml2.uml.Deployment#getConfigurations <em>Configuration</em>}'.
* <p>
* This feature subsets the following features:
* </p>
* <ul>
* <li>'{@link org.eclipse.uml2.uml.Element#getOwner() <em>Owner</em>}'</li>
* </ul>
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The deployment with which the DeploymentSpecification is associated.
* <p>From package UML::Deployments.</p>
* <!-- end-model-doc -->
* @return the value of the '<em>Deployment</em>' container reference.
* @see #setDeployment(Deployment)
* @see org.eclipse.uml2.uml.UMLPackage#getDeploymentSpecification_Deployment()
* @see org.eclipse.uml2.uml.Deployment#getConfigurations
* @model opposite="configuration" transient="false" ordered="false"
* @generated
*/
Deployment getDeployment();
/**
* Sets the value of the '{@link org.eclipse.uml2.uml.DeploymentSpecification#getDeployment <em>Deployment</em>}' container reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @param value the new value of the '<em>Deployment</em>' container reference.
* @see #getDeployment()
* @generated
*/
void setDeployment(Deployment value);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The deployedElements of a DeploymentTarget that are involved in a Deployment that has an associated Deployment-Specification is a kind of Component (i.e., the configured components).
* deployment->forAll (location.deployedElement->forAll (oclIsKindOf(Component)))
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateDeployedElements(DiagnosticChain diagnostics,
Map<Object, Object> context);
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* <!-- begin-model-doc -->
* The DeploymentTarget of a DeploymentSpecification is a kind of ExecutionEnvironment.
* deployment->forAll (location.oclIsKindOf(ExecutionEnvironment))
* @param diagnostics The chain of diagnostics to which problems are to be appended.
* @param context The cache of context-specific information.
* <!-- end-model-doc -->
* @model
* @generated
*/
boolean validateDeploymentTarget(DiagnosticChain diagnostics,
Map<Object, Object> context);
} // DeploymentSpecification