archimate 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/archimate.gemspec +2 -1
- data/lib/archimate/color.rb +2 -2
- data/lib/archimate/data_model/any_attribute.rb +4 -10
- data/lib/archimate/data_model/any_element.rb +9 -17
- data/lib/archimate/data_model/bounds.rb +6 -6
- data/lib/archimate/data_model/color.rb +6 -6
- data/lib/archimate/data_model/comparison.rb +101 -5
- data/lib/archimate/data_model/concern.rb +5 -13
- data/lib/archimate/data_model/connection.rb +39 -48
- data/lib/archimate/data_model/connector_type.rb +1 -0
- data/lib/archimate/data_model/diagram.rb +27 -42
- data/lib/archimate/data_model/diagram_type.rb +1 -0
- data/lib/archimate/data_model/element.rb +14 -35
- data/lib/archimate/data_model/elements.rb +681 -0
- data/lib/archimate/data_model/font.rb +8 -8
- data/lib/archimate/data_model/lang_string.rb +10 -36
- data/lib/archimate/data_model/layer.rb +4 -5
- data/lib/archimate/data_model/layers.rb +45 -49
- data/lib/archimate/data_model/location.rb +6 -6
- data/lib/archimate/data_model/metadata.rb +2 -6
- data/lib/archimate/data_model/model.rb +50 -62
- data/lib/archimate/data_model/modeling_note.rb +3 -8
- data/lib/archimate/data_model/organization.rb +18 -27
- data/lib/archimate/data_model/property.rb +9 -8
- data/lib/archimate/data_model/property_definition.rb +15 -21
- data/lib/archimate/data_model/referenceable.rb +14 -9
- data/lib/archimate/data_model/referenceable_list.rb +82 -0
- data/lib/archimate/data_model/relationship.rb +41 -152
- data/lib/archimate/data_model/relationship_references.rb +29 -0
- data/lib/archimate/data_model/relationships.rb +214 -0
- data/lib/archimate/data_model/schema_info.rb +6 -12
- data/lib/archimate/data_model/style.rb +14 -25
- data/lib/archimate/data_model/view_node.rb +38 -66
- data/lib/archimate/data_model/viewpoint.rb +23 -38
- data/lib/archimate/data_model/viewpoint_type.rb +347 -387
- data/lib/archimate/data_model.rb +7 -6
- data/lib/archimate/derived_relations.rb +106 -31
- data/lib/archimate/export/cypher.rb +0 -18
- data/lib/archimate/export/jsonl.rb +16 -45
- data/lib/archimate/export/n_quads.rb +1 -24
- data/lib/archimate/file_formats/archi_file_reader.rb +2 -1
- data/lib/archimate/file_formats/model_exchange_file_writer_21.rb +9 -1
- data/lib/archimate/file_formats/sax/archi/archi_handler_factory.rb +2 -2
- data/lib/archimate/file_formats/sax/archi/connection.rb +2 -1
- data/lib/archimate/file_formats/sax/archi/element.rb +7 -5
- data/lib/archimate/file_formats/sax/archi/relationship.rb +1 -1
- data/lib/archimate/file_formats/sax/model_exchange_file/connection.rb +2 -1
- data/lib/archimate/file_formats/sax/model_exchange_file/element.rb +1 -1
- data/lib/archimate/file_formats/sax/model_exchange_file/relationship.rb +1 -1
- data/lib/archimate/file_formats/sax/model_exchange_file/view_node.rb +0 -1
- data/lib/archimate/file_formats/serializer/archi/relationship.rb +1 -1
- data/lib/archimate/lint/duplicate_entities.rb +46 -42
- data/lib/archimate/svg/archimate.css +12 -2
- data/lib/archimate/svg/entity/base_entity.rb +6 -29
- data/lib/archimate/svg/entity/location.rb +1 -0
- data/lib/archimate/svg/entity_factory.rb +3 -3
- data/lib/archimate/svg/point.rb +3 -3
- data/lib/archimate/svg/svg_template.svg.erb +5 -5
- data/lib/archimate/version.rb +2 -1
- metadata +20 -6
- data/TODOs.org +0 -505
- data/lib/archimate/data_model/differentiable.rb +0 -142
- data/lib/archimate/data_model/element_type.rb +0 -89
- data/lib/archimate/data_model/relationship_type.rb +0 -45
@@ -7,22 +7,23 @@ module Archimate
|
|
7
7
|
class ViewpointType
|
8
8
|
include Ruby::Enum
|
9
9
|
|
10
|
-
ENTITIES =
|
11
|
-
|
12
|
-
CORE_ELEMENTS =
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
10
|
+
ENTITIES = Elements.classes
|
11
|
+
|
12
|
+
CORE_ELEMENTS = Elements.classes.select do |el|
|
13
|
+
[Layers::Business, Layers::Application, Layers::Technology].include?(el::LAYER)
|
14
|
+
end
|
15
|
+
|
16
|
+
DEFAULT_RELATIONS = [
|
17
|
+
Relationships::Access,
|
18
|
+
Relationships::Aggregation,
|
19
|
+
Relationships::Assignment,
|
20
|
+
Relationships::Association,
|
21
|
+
Relationships::Composition,
|
22
|
+
Relationships::Flow,
|
23
|
+
Relationships::Realization,
|
24
|
+
Relationships::Specialization,
|
25
|
+
Relationships::Triggering,
|
26
|
+
Relationships::Serving
|
26
27
|
].freeze
|
27
28
|
|
28
29
|
ViewpointTypeVal = Struct.new(:name, :entities, :relations) do
|
@@ -32,390 +33,349 @@ module Archimate
|
|
32
33
|
end
|
33
34
|
|
34
35
|
# Basic Viewpoints
|
35
|
-
define :Introductory, ViewpointTypeVal.new(
|
36
|
-
|
37
|
-
|
36
|
+
define :Introductory, ViewpointTypeVal.new(
|
37
|
+
"Introductory",
|
38
|
+
CORE_ELEMENTS,
|
39
|
+
Relationships.classes
|
40
|
+
)
|
38
41
|
|
39
42
|
# Category:Composition Viewpoints that defines internal compositions and aggregations of elements.
|
40
|
-
define :Organization, ViewpointTypeVal.new(
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
define :Application_platform, ViewpointTypeVal.new(
|
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
|
-
define :
|
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
|
-
define :Application_cooperation, ViewpointTypeVal.new(
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
#
|
148
|
-
define :Service_realization, ViewpointTypeVal.new(
|
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
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
],
|
233
|
-
DEFAULT_RELATIONS)
|
234
|
-
|
235
|
-
define :Motivation, ViewpointTypeVal.new("Motivation",
|
236
|
-
%w[
|
237
|
-
Assessment
|
238
|
-
Constraint
|
239
|
-
Driver
|
240
|
-
Goal
|
241
|
-
Principle
|
242
|
-
Requirement
|
243
|
-
Stakeholder
|
244
|
-
],
|
245
|
-
%w[
|
246
|
-
AggregationRelationship
|
247
|
-
AssociationRelationship
|
248
|
-
CompositionRelationship
|
249
|
-
FlowRelationship
|
250
|
-
InfluenceRelationship
|
251
|
-
RealisationRelationship
|
252
|
-
SpecialisationRelationship
|
253
|
-
])
|
43
|
+
define :Organization, ViewpointTypeVal.new(
|
44
|
+
"Organization",
|
45
|
+
ConnectorType.values + [
|
46
|
+
Elements::BusinessActor, Elements::BusinessCollaboration,
|
47
|
+
Elements::BusinessInterface, Elements::BusinessRole,
|
48
|
+
Elements::Location
|
49
|
+
],
|
50
|
+
DEFAULT_RELATIONS - [Relationships::Access, Relationships::Realization]
|
51
|
+
)
|
52
|
+
|
53
|
+
define :Application_platform, ViewpointTypeVal.new(
|
54
|
+
"Application Platform",
|
55
|
+
CORE_ELEMENTS,
|
56
|
+
Relationships.classes
|
57
|
+
)
|
58
|
+
|
59
|
+
define :Information_structure, ViewpointTypeVal.new(
|
60
|
+
"Information Structure",
|
61
|
+
ConnectorType.values + [
|
62
|
+
Elements::Artifact, Elements::BusinessObject, Elements::DataObject,
|
63
|
+
Elements::Meaning, Elements::Representation
|
64
|
+
],
|
65
|
+
DEFAULT_RELATIONS - [Relationships::Assignment, Relationships::Serving]
|
66
|
+
)
|
67
|
+
|
68
|
+
define :Technology, ViewpointTypeVal.new(
|
69
|
+
"Technology",
|
70
|
+
CORE_ELEMENTS,
|
71
|
+
Relationships.classes
|
72
|
+
)
|
73
|
+
|
74
|
+
define :Layered, ViewpointTypeVal.new(
|
75
|
+
"Layered",
|
76
|
+
ENTITIES + ConnectorType.values,
|
77
|
+
Relationships.classes
|
78
|
+
)
|
79
|
+
|
80
|
+
define :Physical, ViewpointTypeVal.new(
|
81
|
+
"Physical",
|
82
|
+
CORE_ELEMENTS,
|
83
|
+
Relationships.classes
|
84
|
+
)
|
85
|
+
|
86
|
+
# Category:Support Viewpoints where you are looking at elements that are
|
87
|
+
# supported by other elements. Typically from one layer and upwards to an
|
88
|
+
# above layer.
|
89
|
+
define :Product, ViewpointTypeVal.new(
|
90
|
+
"Product",
|
91
|
+
ConnectorType.values + [
|
92
|
+
Elements::ApplicationComponent, Elements::ApplicationInterface,
|
93
|
+
Elements::ApplicationService, Elements::BusinessActor,
|
94
|
+
Elements::BusinessEvent, Elements::BusinessFunction,
|
95
|
+
Elements::BusinessInteraction, Elements::BusinessInterface,
|
96
|
+
Elements::BusinessProcess, Elements::BusinessRole,
|
97
|
+
Elements::BusinessService, Elements::Contract,
|
98
|
+
Elements::Product, Elements::Value
|
99
|
+
],
|
100
|
+
DEFAULT_RELATIONS
|
101
|
+
)
|
102
|
+
|
103
|
+
define :Application_usage, ViewpointTypeVal.new(
|
104
|
+
"Application Usage",
|
105
|
+
ConnectorType.values + [
|
106
|
+
Elements::ApplicationCollaboration, Elements::ApplicationComponent,
|
107
|
+
Elements::ApplicationInterface, Elements::ApplicationService,
|
108
|
+
Elements::BusinessEvent, Elements::BusinessFunction,
|
109
|
+
Elements::BusinessInteraction, Elements::BusinessObject,
|
110
|
+
Elements::BusinessProcess, Elements::BusinessRole,
|
111
|
+
Elements::DataObject
|
112
|
+
],
|
113
|
+
DEFAULT_RELATIONS
|
114
|
+
)
|
115
|
+
|
116
|
+
define :Technology_usage, ViewpointTypeVal.new(
|
117
|
+
"Technology Usage",
|
118
|
+
CORE_ELEMENTS,
|
119
|
+
Relationships.classes
|
120
|
+
)
|
121
|
+
|
122
|
+
# Category:Cooperation Towards peer elements which cooperate with each
|
123
|
+
# other. Typically across aspects.
|
124
|
+
define :Business_process_cooperation, ViewpointTypeVal.new(
|
125
|
+
"Business Process Cooperation",
|
126
|
+
ConnectorType.values + [
|
127
|
+
Elements::ApplicationService, Elements::BusinessActor,
|
128
|
+
Elements::BusinessCollaboration, Elements::BusinessEvent,
|
129
|
+
Elements::BusinessFunction, Elements::BusinessInteraction,
|
130
|
+
Elements::BusinessObject, Elements::BusinessProcess,
|
131
|
+
Elements::BusinessRole, Elements::BusinessService,
|
132
|
+
Elements::Location, Elements::Representation
|
133
|
+
],
|
134
|
+
DEFAULT_RELATIONS
|
135
|
+
)
|
136
|
+
|
137
|
+
define :Application_cooperation, ViewpointTypeVal.new(
|
138
|
+
"Application Cooperation",
|
139
|
+
ConnectorType.values + [
|
140
|
+
Elements::ApplicationCollaboration, Elements::ApplicationComponent,
|
141
|
+
Elements::ApplicationFunction, Elements::ApplicationInteraction,
|
142
|
+
Elements::ApplicationInterface, Elements::ApplicationService,
|
143
|
+
Elements::DataObject, Elements::Location
|
144
|
+
],
|
145
|
+
DEFAULT_RELATIONS
|
146
|
+
)
|
147
|
+
|
148
|
+
# Category:Realization Viewpoints where you are looking at elements that
|
149
|
+
# realize other elements. Typically from one layer and downwards to a
|
150
|
+
# below layer.
|
151
|
+
define :Service_realization, ViewpointTypeVal.new(
|
152
|
+
"Service Realization",
|
153
|
+
ConnectorType.values + [
|
154
|
+
Elements::ApplicationCollaboration, Elements::ApplicationComponent,
|
155
|
+
Elements::ApplicationService, Elements::BusinessActor,
|
156
|
+
Elements::BusinessCollaboration, Elements::BusinessEvent,
|
157
|
+
Elements::BusinessFunction, Elements::BusinessInteraction,
|
158
|
+
Elements::BusinessObject, Elements::BusinessProcess,
|
159
|
+
Elements::BusinessRole, Elements::BusinessService,
|
160
|
+
Elements::DataObject
|
161
|
+
],
|
162
|
+
DEFAULT_RELATIONS
|
163
|
+
)
|
164
|
+
|
165
|
+
define :Implementation_and_deployment, ViewpointTypeVal.new(
|
166
|
+
"Implementation and Deployment",
|
167
|
+
ConnectorType.values + [
|
168
|
+
Elements::ApplicationCollaboration, Elements::ApplicationComponent,
|
169
|
+
Elements::Artifact, Elements::CommunicationPath,
|
170
|
+
Elements::DataObject, Elements::Device,
|
171
|
+
Elements::InfrastructureService, Elements::Network, Elements::Node,
|
172
|
+
Elements::SystemSoftware
|
173
|
+
],
|
174
|
+
DEFAULT_RELATIONS
|
175
|
+
)
|
176
|
+
|
177
|
+
define :Goal_realization, ViewpointTypeVal.new(
|
178
|
+
"Goal Realization",
|
179
|
+
[
|
180
|
+
Elements::Constraint, Elements::Goal, Elements::Principle,
|
181
|
+
Elements::Requirement
|
182
|
+
],
|
183
|
+
[
|
184
|
+
Relationships::Aggregation, Relationships::Association,
|
185
|
+
Relationships::Composition, Relationships::Influence,
|
186
|
+
Relationships::Realization, Relationships::Specialization
|
187
|
+
]
|
188
|
+
)
|
189
|
+
|
190
|
+
define :Goal_contribution, ViewpointTypeVal.new(
|
191
|
+
"Goal Contribution",
|
192
|
+
[
|
193
|
+
Elements::Constraint, Elements::Goal, Elements::Principle,
|
194
|
+
Elements::Requirement
|
195
|
+
],
|
196
|
+
[
|
197
|
+
Relationships::Aggregation, Relationships::Association,
|
198
|
+
Relationships::Composition, Relationships::Influence,
|
199
|
+
Relationships::Realization, Relationships::Specialization
|
200
|
+
]
|
201
|
+
)
|
202
|
+
|
203
|
+
define :Principles, ViewpointTypeVal.new(
|
204
|
+
"Principles",
|
205
|
+
[Elements::Goal, Elements::Principle],
|
206
|
+
[
|
207
|
+
Relationships::Aggregation, Relationships::Association,
|
208
|
+
Relationships::Composition, Relationships::Influence,
|
209
|
+
Relationships::Realization, Relationships::Specialization
|
210
|
+
]
|
211
|
+
)
|
212
|
+
|
213
|
+
define :Requirements_realization, ViewpointTypeVal.new(
|
214
|
+
"Requirements Realization",
|
215
|
+
CORE_ELEMENTS + ConnectorType.values + [
|
216
|
+
Elements::Constraint, Elements::Goal, Elements::Requirement
|
217
|
+
],
|
218
|
+
DEFAULT_RELATIONS
|
219
|
+
)
|
220
|
+
|
221
|
+
define :Motivation, ViewpointTypeVal.new(
|
222
|
+
"Motivation",
|
223
|
+
[
|
224
|
+
Elements::Assessment, Elements::Constraint, Elements::Driver,
|
225
|
+
Elements::Goal, Elements::Principle, Elements::Requirement,
|
226
|
+
Elements::Stakeholder
|
227
|
+
],
|
228
|
+
[
|
229
|
+
Relationships::Aggregation, Relationships::Association,
|
230
|
+
Relationships::Composition, Relationships::Flow,
|
231
|
+
Relationships::Influence, Relationships::Realization,
|
232
|
+
Relationships::Specialization
|
233
|
+
]
|
234
|
+
)
|
254
235
|
|
255
236
|
# Strategy Viewpoints
|
256
|
-
define :Strategy, ViewpointTypeVal.new(
|
257
|
-
|
258
|
-
|
237
|
+
define :Strategy, ViewpointTypeVal.new(
|
238
|
+
"Strategy", CORE_ELEMENTS, Relationships.classes
|
239
|
+
)
|
259
240
|
|
260
|
-
define :Capability_map, ViewpointTypeVal.new(
|
261
|
-
|
262
|
-
|
241
|
+
define :Capability_map, ViewpointTypeVal.new(
|
242
|
+
"Capability Map", CORE_ELEMENTS, Relationships.classes
|
243
|
+
)
|
263
244
|
|
264
|
-
define :Outcome_realization, ViewpointTypeVal.new(
|
265
|
-
|
266
|
-
|
245
|
+
define :Outcome_realization, ViewpointTypeVal.new(
|
246
|
+
"Outcome Realization", CORE_ELEMENTS, Relationships.classes
|
247
|
+
)
|
267
248
|
|
268
|
-
define :Resource_map, ViewpointTypeVal.new(
|
269
|
-
|
270
|
-
|
249
|
+
define :Resource_map, ViewpointTypeVal.new(
|
250
|
+
"Resource Map", CORE_ELEMENTS, Relationships.classes
|
251
|
+
)
|
271
252
|
|
272
253
|
# Implementation and Migration Viewpoints
|
273
|
-
define :Project, ViewpointTypeVal.new(
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
286
|
-
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
299
|
-
|
300
|
-
|
301
|
-
|
302
|
-
|
303
|
-
Deliverable
|
304
|
-
BusinessActor
|
305
|
-
Plateau
|
306
|
-
Gap
|
307
|
-
],
|
308
|
-
DEFAULT_RELATIONS)
|
254
|
+
define :Project, ViewpointTypeVal.new(
|
255
|
+
"Project",
|
256
|
+
ConnectorType.values + [
|
257
|
+
Elements::BusinessActor, Elements::BusinessRole,
|
258
|
+
Elements::Deliverable, Elements::Goal, Elements::WorkPackage
|
259
|
+
],
|
260
|
+
DEFAULT_RELATIONS - [Relationships::Access]
|
261
|
+
)
|
262
|
+
|
263
|
+
define :Migration, ViewpointTypeVal.new(
|
264
|
+
"Migration",
|
265
|
+
ConnectorType.values + [Elements::Gap, Elements::Plateau],
|
266
|
+
[
|
267
|
+
Relationships::AndJunction, Relationships::Association,
|
268
|
+
Relationships::Composition, Relationships::Flow,
|
269
|
+
Relationships::Junction, Relationships::OrJunction,
|
270
|
+
Relationships::Triggering
|
271
|
+
]
|
272
|
+
)
|
273
|
+
|
274
|
+
define :Implementation_and_migration, ViewpointTypeVal.new(
|
275
|
+
"Implementation and Migration",
|
276
|
+
CORE_ELEMENTS + ConnectorType.values + [
|
277
|
+
Elements::Location, Elements::Requirement, Elements::Constraint,
|
278
|
+
Elements::Goal, Elements::BusinessRole, Elements::WorkPackage,
|
279
|
+
Elements::Deliverable, Elements::BusinessActor, Elements::Plateau,
|
280
|
+
Elements::Gap
|
281
|
+
],
|
282
|
+
DEFAULT_RELATIONS
|
283
|
+
)
|
309
284
|
|
310
285
|
# Other Viewpoints
|
311
|
-
define :Stakeholder, ViewpointTypeVal.new(
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
|
317
|
-
|
318
|
-
|
319
|
-
|
320
|
-
|
321
|
-
|
322
|
-
|
323
|
-
SpecialisationRelationship
|
324
|
-
])
|
286
|
+
define :Stakeholder, ViewpointTypeVal.new(
|
287
|
+
"Stakeholder",
|
288
|
+
[
|
289
|
+
Elements::Assessment, Elements::Driver, Elements::Goal,
|
290
|
+
Elements::Stakeholder
|
291
|
+
],
|
292
|
+
[
|
293
|
+
Relationships::Aggregation, Relationships::Association,
|
294
|
+
Relationships::Composition, Relationships::Influence,
|
295
|
+
Relationships::Specialization
|
296
|
+
]
|
297
|
+
)
|
325
298
|
|
326
299
|
# Other older viewpoints
|
327
|
-
define :Actor_cooperation, ViewpointTypeVal.new(
|
328
|
-
|
329
|
-
|
330
|
-
|
331
|
-
|
332
|
-
|
333
|
-
|
334
|
-
|
335
|
-
|
336
|
-
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
|
341
|
-
|
342
|
-
|
343
|
-
|
344
|
-
|
345
|
-
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
|
351
|
-
|
352
|
-
|
353
|
-
|
354
|
-
|
355
|
-
|
356
|
-
|
357
|
-
|
358
|
-
|
359
|
-
|
360
|
-
|
361
|
-
|
362
|
-
|
363
|
-
|
364
|
-
|
365
|
-
|
366
|
-
|
367
|
-
|
368
|
-
|
369
|
-
|
370
|
-
|
371
|
-
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
376
|
-
|
377
|
-
|
378
|
-
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
386
|
-
|
387
|
-
|
388
|
-
|
389
|
-
|
390
|
-
|
391
|
-
|
392
|
-
|
393
|
-
|
394
|
-
|
395
|
-
|
396
|
-
|
397
|
-
|
398
|
-
|
399
|
-
|
400
|
-
|
401
|
-
|
402
|
-
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
Device
|
407
|
-
InfrastructureFunction
|
408
|
-
InfrastructureInterface
|
409
|
-
InfrastructureService
|
410
|
-
Network
|
411
|
-
Node
|
412
|
-
SystemSoftware
|
413
|
-
],
|
414
|
-
DEFAULT_RELATIONS)
|
415
|
-
|
416
|
-
define :Landscape_map, ViewpointTypeVal.new("Landscape Map",
|
417
|
-
ENTITIES + DataModel::ConnectorType.values,
|
418
|
-
DataModel::RelationshipType.values)
|
300
|
+
define :Actor_cooperation, ViewpointTypeVal.new(
|
301
|
+
"Actor Co-operation",
|
302
|
+
ConnectorType.values + [
|
303
|
+
Elements::ApplicationComponent, Elements::ApplicationInterface,
|
304
|
+
Elements::ApplicationService, Elements::BusinessActor,
|
305
|
+
Elements::BusinessCollaboration, Elements::BusinessInterface,
|
306
|
+
Elements::BusinessRole, Elements::BusinessService
|
307
|
+
],
|
308
|
+
DEFAULT_RELATIONS - [Relationships::Access]
|
309
|
+
)
|
310
|
+
|
311
|
+
define :Business_function, ViewpointTypeVal.new(
|
312
|
+
"Business Function",
|
313
|
+
ConnectorType.values + [
|
314
|
+
Elements::BusinessActor, Elements::BusinessFunction,
|
315
|
+
Elements::BusinessRole
|
316
|
+
],
|
317
|
+
DEFAULT_RELATIONS - [Relationships::Access, Relationships::Realization]
|
318
|
+
)
|
319
|
+
|
320
|
+
define :Business_process, ViewpointTypeVal.new(
|
321
|
+
"Business Process",
|
322
|
+
ConnectorType.values + [
|
323
|
+
Elements::ApplicationService, Elements::BusinessActor,
|
324
|
+
Elements::BusinessCollaboration, Elements::BusinessEvent,
|
325
|
+
Elements::BusinessFunction, Elements::BusinessInteraction,
|
326
|
+
Elements::BusinessObject, Elements::BusinessProcess,
|
327
|
+
Elements::BusinessRole, Elements::BusinessService,
|
328
|
+
Elements::Location, Elements::Representation
|
329
|
+
],
|
330
|
+
DEFAULT_RELATIONS
|
331
|
+
)
|
332
|
+
|
333
|
+
define :Application_behavior, ViewpointTypeVal.new(
|
334
|
+
"Application Behavior",
|
335
|
+
ConnectorType.values + [
|
336
|
+
Elements::ApplicationCollaboration, Elements::ApplicationComponent,
|
337
|
+
Elements::ApplicationFunction, Elements::ApplicationInteraction,
|
338
|
+
Elements::ApplicationInterface, Elements::ApplicationService,
|
339
|
+
Elements::DataObject
|
340
|
+
],
|
341
|
+
DEFAULT_RELATIONS
|
342
|
+
)
|
343
|
+
|
344
|
+
define :Application_structure, ViewpointTypeVal.new(
|
345
|
+
"Application Structure",
|
346
|
+
ConnectorType.values + [
|
347
|
+
Elements::ApplicationCollaboration, Elements::ApplicationComponent,
|
348
|
+
Elements::ApplicationInterface, Elements::DataObject
|
349
|
+
],
|
350
|
+
DEFAULT_RELATIONS - [Relationships::Realization]
|
351
|
+
)
|
352
|
+
|
353
|
+
define :Infrastructure, ViewpointTypeVal.new(
|
354
|
+
"Infrastructure",
|
355
|
+
ConnectorType.values + [
|
356
|
+
Elements::Artifact, Elements::CommunicationPath, Elements::Device,
|
357
|
+
Elements::InfrastructureFunction, Elements::InfrastructureInterface,
|
358
|
+
Elements::InfrastructureService, Elements::Location,
|
359
|
+
Elements::Network, Elements::Node, Elements::SystemSoftware
|
360
|
+
],
|
361
|
+
DEFAULT_RELATIONS
|
362
|
+
)
|
363
|
+
|
364
|
+
define :Infrastructure_usage, ViewpointTypeVal.new(
|
365
|
+
"Infrastructure Usage",
|
366
|
+
ConnectorType.values + [
|
367
|
+
Elements::ApplicationComponent, Elements::ApplicationFunction,
|
368
|
+
Elements::CommunicationPath, Elements::Device,
|
369
|
+
Elements::InfrastructureFunction, Elements::InfrastructureInterface,
|
370
|
+
Elements::InfrastructureService, Elements::Network, Elements::Node,
|
371
|
+
Elements::SystemSoftware
|
372
|
+
],
|
373
|
+
DEFAULT_RELATIONS
|
374
|
+
)
|
375
|
+
|
376
|
+
define :Landscape_map, ViewpointTypeVal.new(
|
377
|
+
"Landscape Map", ENTITIES + ConnectorType.values, Relationships.classes
|
378
|
+
)
|
419
379
|
|
420
380
|
def self.[](idx)
|
421
381
|
values[idx]
|