1 | package de.uka.ipd.sdq.pcm.transformations.builder.seff; |
2 | |
3 | import de.uka.ipd.sdq.pcm.repository.OperationSignature; |
4 | import de.uka.ipd.sdq.pcm.seff.AbstractAction; |
5 | import de.uka.ipd.sdq.pcm.seff.ResourceDemandingSEFF; |
6 | import de.uka.ipd.sdq.pcm.seff.SeffFactory; |
7 | |
8 | public class AbstractSeffBuilder { |
9 | |
10 | public AbstractSeffBuilder() { |
11 | super(); |
12 | } |
13 | |
14 | protected ResourceDemandingSEFF buildSeff(OperationSignature signature) { |
15 | ResourceDemandingSEFF seff = SeffFactory.eINSTANCE.createResourceDemandingSEFF(); |
16 | seff.setDescribedService__SEFF(signature); |
17 | |
18 | return seff; |
19 | } |
20 | |
21 | protected AbstractAction createControlFlow(AbstractAction a, AbstractAction b) { |
22 | a.setSuccessor_AbstractAction(b); |
23 | return b; |
24 | } |
25 | |
26 | } |