-
Notifications
You must be signed in to change notification settings - Fork 85
/
SystemFunction.vql
54 lines (42 loc) · 1.99 KB
/
SystemFunction.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
/*******************************************************************************
* 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.ctx.surrogate
import "http://www.polarsys.org/capella/core/ctx/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/fa/7.0.0"
import "http://www.polarsys.org/capella/core/oa/7.0.0"
import "http://www.polarsys.org/capella/core/la/7.0.0"
// End of user code
@Surrogate(feature="realizedOperationalActivities")
pattern SystemFunction__realizedOperationalActivities(self : SystemFunction, target : OperationalActivity) {
SystemFunction.outFunctionRealizations.allocatedFunction(self, target);
}
@Surrogate(feature="realizingLogicalFunctions")
pattern SystemFunction__realizingLogicalFunctions(self : SystemFunction, target : LogicalFunction) {
SystemFunction.inFunctionRealizations.allocatingFunction(self, target);
}
@Surrogate(feature="containedSystemFunctions")
pattern SystemFunction__containedSystemFunctions(self : SystemFunction, target : SystemFunction) {
SystemFunction.ownedFunctions(self, target);
}
@Surrogate(feature="childrenSystemFunctions")
pattern SystemFunction__childrenSystemFunctions(self : SystemFunction, target : SystemFunction) {
SystemFunction.subFunctions(self, target);
}
@Surrogate(feature="allocatingSystemComponents")
pattern SystemFunction__allocatingSystemComponents(self : SystemFunction, target : SystemComponent) {
SystemFunction.incomingTraces(self, traces);
ComponentFunctionalAllocation.sourceElement(traces, target);
}