1 | /** |
2 | * <copyright> |
3 | * </copyright> |
4 | * |
5 | * $Id$ |
6 | */ |
7 | package de.uka.ipd.sdq.pcm.cost.impl; |
8 | |
9 | import de.uka.ipd.sdq.pcm.cost.FixedLinkingResourceCost; |
10 | import de.uka.ipd.sdq.pcm.cost.costPackage; |
11 | |
12 | import de.uka.ipd.sdq.pcm.resourceenvironment.LinkingResource; |
13 | |
14 | import org.eclipse.emf.common.notify.Notification; |
15 | |
16 | import org.eclipse.emf.ecore.EClass; |
17 | import org.eclipse.emf.ecore.EObject; |
18 | import org.eclipse.emf.ecore.InternalEObject; |
19 | |
20 | import org.eclipse.emf.ecore.impl.ENotificationImpl; |
21 | |
22 | /** |
23 | * <!-- begin-user-doc --> |
24 | * An implementation of the model object '<em><b>Fixed Linking Resource Cost</b></em>'. |
25 | * <!-- end-user-doc --> |
26 | * <p> |
27 | * </p> |
28 | * |
29 | * @generated |
30 | */ |
31 | public class FixedLinkingResourceCostImpl extends LinkingResourceCostImpl implements FixedLinkingResourceCost { |
32 | /** |
33 | * <!-- begin-user-doc --> |
34 | * <!-- end-user-doc --> |
35 | * @generated |
36 | */ |
37 | protected FixedLinkingResourceCostImpl() { |
38 | super(); |
39 | } |
40 | |
41 | /** |
42 | * <!-- begin-user-doc --> |
43 | * <!-- end-user-doc --> |
44 | * @generated |
45 | */ |
46 | @Override |
47 | protected EClass eStaticClass() { |
48 | return costPackage.Literals.FIXED_LINKING_RESOURCE_COST; |
49 | } |
50 | |
51 | /** |
52 | * <!-- begin-user-doc --> |
53 | * <!-- end-user-doc --> |
54 | * @generated not |
55 | */ |
56 | @Override |
57 | public double getOperatingCost() { |
58 | // TODO Auto-generated method stub |
59 | return 0; |
60 | } |
61 | |
62 | /** |
63 | * <!-- begin-user-doc --> |
64 | * <!-- end-user-doc --> |
65 | * @generated not |
66 | */ |
67 | @Override |
68 | public double getInitialCost() { |
69 | // TODO Auto-generated method stub |
70 | return 0; |
71 | } |
72 | |
73 | @Override |
74 | public EObject basicGetAnnotatedElement() { |
75 | return this.getLinkingresource(); |
76 | } |
77 | |
78 | } //FixedLinkingResourceCostImpl |