-
Notifications
You must be signed in to change notification settings - Fork 85
/
Entity.vql
62 lines (50 loc) · 2.18 KB
/
Entity.vql
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
/*******************************************************************************
* Copyright (c) 2006, 2020 THALES DMS FRANCE.
*
* 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
*******************************************************************************/
/* Generated file */
package org.polarsys.capella.viatra.core.data.oa.surrogate
import "http://www.polarsys.org/capella/core/oa/7.0.0"
// Start of user code for imports
import "http://www.polarsys.org/capella/common/core/7.0.0"
import "http://www.polarsys.org/capella/core/information/7.0.0"
import "http://www.polarsys.org/capella/core/fa/7.0.0"
import "http://www.polarsys.org/capella/core/core/7.0.0"
import "http://www.polarsys.org/capella/core/ctx/7.0.0"
import "http://www.polarsys.org/capella/core/cs/7.0.0"
import "http://www.polarsys.org/capella/core/common/7.0.0"
import "http://www.polarsys.org/capella/core/la/7.0.0"
// End of user code
@Surrogate(feature="roleAllocations")
pattern Entity__roleAllocations(self : Entity, target : RoleAllocation) {
Entity.outgoingTraces(self, target);
}
@Surrogate(feature="subEntities")
pattern Entity__subEntities(self : Entity, target : Entity) {
Entity.containedParts.type(self, target);
}
@Surrogate(feature="allocatedOperationalActivities")
pattern Entity__allocatedOperationalActivities(self : Entity, target : OperationalActivity) {
Entity.allocatedFunctions(self, target);
}
@Surrogate(feature="allocatedRoles")
pattern Entity__allocatedRoles(self : Entity, target : Role) {
Entity.roleAllocations.role(self, target);
}
@Surrogate(feature="involvingOperationalCapabilities")
pattern Entity__involvingOperationalCapabilities(self : Entity, target : OperationalCapability) {
Entity.involvingInvolvements(self, eoci);
EntityOperationalCapabilityInvolvement.capability(eoci, target);
}
@Surrogate(feature="realizingSystemComponents")
pattern Entity__realizingSystemComponents(self : Entity, target : SystemComponent) {
Entity.realizingComponents(self, target);
}