EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.pcm.core.composition.impl]

COVERAGE SUMMARY FOR SOURCE FILE [ProvidedInfrastructureDelegationConnectorImpl.java]

nameclass, %method, %block, %line, %
ProvidedInfrastructureDelegationConnectorImpl.java0%   (0/1)0%   (0/15)0%   (0/290)0%   (0/73)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ProvidedInfrastructureDelegationConnectorImpl0%   (0/1)0%   (0/15)0%   (0/290)0%   (0/73)
ProvidedInfrastructureDelegationConnectorImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
basicGetAssemblyContext__ProvidedInfrastructureDelegationConnector (): Assemb... 0%   (0/1)0%   (0/3)0%   (0/1)
basicGetInnerProvidedRole__ProvidedInfrastructureDelegationConnector (): Infr... 0%   (0/1)0%   (0/3)0%   (0/1)
basicGetOuterProvidedRole__ProvidedInfrastructureDelegationConnector (): Infr... 0%   (0/1)0%   (0/3)0%   (0/1)
eGet (int, boolean, boolean): Object 0%   (0/1)0%   (0/32)0%   (0/8)
eIsSet (int): boolean 0%   (0/1)0%   (0/27)0%   (0/5)
eSet (int, Object): void 0%   (0/1)0%   (0/22)0%   (0/9)
eStaticClass (): EClass 0%   (0/1)0%   (0/2)0%   (0/1)
eUnset (int): void 0%   (0/1)0%   (0/18)0%   (0/9)
getAssemblyContext__ProvidedInfrastructureDelegationConnector (): AssemblyCon... 0%   (0/1)0%   (0/38)0%   (0/7)
getInnerProvidedRole__ProvidedInfrastructureDelegationConnector (): Infrastru... 0%   (0/1)0%   (0/38)0%   (0/7)
getOuterProvidedRole__ProvidedInfrastructureDelegationConnector (): Infrastru... 0%   (0/1)0%   (0/38)0%   (0/7)
setAssemblyContext__ProvidedInfrastructureDelegationConnector (AssemblyContex... 0%   (0/1)0%   (0/21)0%   (0/5)
setInnerProvidedRole__ProvidedInfrastructureDelegationConnector (Infrastructu... 0%   (0/1)0%   (0/21)0%   (0/5)
setOuterProvidedRole__ProvidedInfrastructureDelegationConnector (Infrastructu... 0%   (0/1)0%   (0/21)0%   (0/5)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.core.composition.impl;
7 
8import org.eclipse.emf.common.notify.Notification;
9import org.eclipse.emf.ecore.EClass;
10import org.eclipse.emf.ecore.InternalEObject;
11import org.eclipse.emf.ecore.impl.ENotificationImpl;
12 
13import de.uka.ipd.sdq.pcm.core.composition.AssemblyContext;
14import de.uka.ipd.sdq.pcm.core.composition.CompositionPackage;
15import de.uka.ipd.sdq.pcm.core.composition.ProvidedInfrastructureDelegationConnector;
16import de.uka.ipd.sdq.pcm.repository.InfrastructureProvidedRole;
17 
18/**
19 * <!-- begin-user-doc -->
20 * An implementation of the model object '<em><b>Provided Infrastructure Delegation Connector</b></em>'.
21 * <!-- end-user-doc -->
22 * <p>
23 * The following features are implemented:
24 * <ul>
25 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.ProvidedInfrastructureDelegationConnectorImpl#getInnerProvidedRole__ProvidedInfrastructureDelegationConnector <em>Inner Provided Role Provided Infrastructure Delegation Connector</em>}</li>
26 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.ProvidedInfrastructureDelegationConnectorImpl#getOuterProvidedRole__ProvidedInfrastructureDelegationConnector <em>Outer Provided Role Provided Infrastructure Delegation Connector</em>}</li>
27 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.ProvidedInfrastructureDelegationConnectorImpl#getAssemblyContext__ProvidedInfrastructureDelegationConnector <em>Assembly Context Provided Infrastructure Delegation Connector</em>}</li>
28 * </ul>
29 * </p>
30 *
31 * @generated
32 */
33public class ProvidedInfrastructureDelegationConnectorImpl extends DelegationConnectorImpl implements ProvidedInfrastructureDelegationConnector {
34        /**
35         * <!-- begin-user-doc -->
36         * <!-- end-user-doc -->
37         * @generated
38         */
39        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
40 
41        /**
42         * The cached value of the '{@link #getInnerProvidedRole__ProvidedInfrastructureDelegationConnector() <em>Inner Provided Role Provided Infrastructure Delegation Connector</em>}' reference.
43         * <!-- begin-user-doc -->
44         * <!-- end-user-doc -->
45         * @see #getInnerProvidedRole__ProvidedInfrastructureDelegationConnector()
46         * @generated
47         * @ordered
48         */
49        protected InfrastructureProvidedRole innerProvidedRole__ProvidedInfrastructureDelegationConnector;
50 
51        /**
52         * The cached value of the '{@link #getOuterProvidedRole__ProvidedInfrastructureDelegationConnector() <em>Outer Provided Role Provided Infrastructure Delegation Connector</em>}' reference.
53         * <!-- begin-user-doc -->
54         * <!-- end-user-doc -->
55         * @see #getOuterProvidedRole__ProvidedInfrastructureDelegationConnector()
56         * @generated
57         * @ordered
58         */
59        protected InfrastructureProvidedRole outerProvidedRole__ProvidedInfrastructureDelegationConnector;
60 
61        /**
62         * The cached value of the '{@link #getAssemblyContext__ProvidedInfrastructureDelegationConnector() <em>Assembly Context Provided Infrastructure Delegation Connector</em>}' reference.
63         * <!-- begin-user-doc -->
64         * <!-- end-user-doc -->
65         * @see #getAssemblyContext__ProvidedInfrastructureDelegationConnector()
66         * @generated
67         * @ordered
68         */
69        protected AssemblyContext assemblyContext__ProvidedInfrastructureDelegationConnector;
70 
71        /**
72         * <!-- begin-user-doc -->
73         * <!-- end-user-doc -->
74         * @generated
75         */
76        protected ProvidedInfrastructureDelegationConnectorImpl() {
77                super();
78        }
79 
80        /**
81         * <!-- begin-user-doc -->
82         * <!-- end-user-doc -->
83         * @generated
84         */
85        @Override
86        protected EClass eStaticClass() {
87                return CompositionPackage.Literals.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR;
88        }
89 
90        /**
91         * <!-- begin-user-doc -->
92         * <!-- end-user-doc -->
93         * @generated
94         */
95        public InfrastructureProvidedRole getInnerProvidedRole__ProvidedInfrastructureDelegationConnector() {
96                if (innerProvidedRole__ProvidedInfrastructureDelegationConnector != null && innerProvidedRole__ProvidedInfrastructureDelegationConnector.eIsProxy()) {
97                        InternalEObject oldInnerProvidedRole__ProvidedInfrastructureDelegationConnector = (InternalEObject)innerProvidedRole__ProvidedInfrastructureDelegationConnector;
98                        innerProvidedRole__ProvidedInfrastructureDelegationConnector = (InfrastructureProvidedRole)eResolveProxy(oldInnerProvidedRole__ProvidedInfrastructureDelegationConnector);
99                        if (innerProvidedRole__ProvidedInfrastructureDelegationConnector != oldInnerProvidedRole__ProvidedInfrastructureDelegationConnector) {
100                                if (eNotificationRequired())
101                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldInnerProvidedRole__ProvidedInfrastructureDelegationConnector, innerProvidedRole__ProvidedInfrastructureDelegationConnector));
102                        }
103                }
104                return innerProvidedRole__ProvidedInfrastructureDelegationConnector;
105        }
106 
107        /**
108         * <!-- begin-user-doc -->
109         * <!-- end-user-doc -->
110         * @generated
111         */
112        public InfrastructureProvidedRole basicGetInnerProvidedRole__ProvidedInfrastructureDelegationConnector() {
113                return innerProvidedRole__ProvidedInfrastructureDelegationConnector;
114        }
115 
116        /**
117         * <!-- begin-user-doc -->
118         * <!-- end-user-doc -->
119         * @generated
120         */
121        public void setInnerProvidedRole__ProvidedInfrastructureDelegationConnector(InfrastructureProvidedRole newInnerProvidedRole__ProvidedInfrastructureDelegationConnector) {
122                InfrastructureProvidedRole oldInnerProvidedRole__ProvidedInfrastructureDelegationConnector = innerProvidedRole__ProvidedInfrastructureDelegationConnector;
123                innerProvidedRole__ProvidedInfrastructureDelegationConnector = newInnerProvidedRole__ProvidedInfrastructureDelegationConnector;
124                if (eNotificationRequired())
125                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldInnerProvidedRole__ProvidedInfrastructureDelegationConnector, innerProvidedRole__ProvidedInfrastructureDelegationConnector));
126        }
127 
128        /**
129         * <!-- begin-user-doc -->
130         * <!-- end-user-doc -->
131         * @generated
132         */
133        public InfrastructureProvidedRole getOuterProvidedRole__ProvidedInfrastructureDelegationConnector() {
134                if (outerProvidedRole__ProvidedInfrastructureDelegationConnector != null && outerProvidedRole__ProvidedInfrastructureDelegationConnector.eIsProxy()) {
135                        InternalEObject oldOuterProvidedRole__ProvidedInfrastructureDelegationConnector = (InternalEObject)outerProvidedRole__ProvidedInfrastructureDelegationConnector;
136                        outerProvidedRole__ProvidedInfrastructureDelegationConnector = (InfrastructureProvidedRole)eResolveProxy(oldOuterProvidedRole__ProvidedInfrastructureDelegationConnector);
137                        if (outerProvidedRole__ProvidedInfrastructureDelegationConnector != oldOuterProvidedRole__ProvidedInfrastructureDelegationConnector) {
138                                if (eNotificationRequired())
139                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldOuterProvidedRole__ProvidedInfrastructureDelegationConnector, outerProvidedRole__ProvidedInfrastructureDelegationConnector));
140                        }
141                }
142                return outerProvidedRole__ProvidedInfrastructureDelegationConnector;
143        }
144 
145        /**
146         * <!-- begin-user-doc -->
147         * <!-- end-user-doc -->
148         * @generated
149         */
150        public InfrastructureProvidedRole basicGetOuterProvidedRole__ProvidedInfrastructureDelegationConnector() {
151                return outerProvidedRole__ProvidedInfrastructureDelegationConnector;
152        }
153 
154        /**
155         * <!-- begin-user-doc -->
156         * <!-- end-user-doc -->
157         * @generated
158         */
159        public void setOuterProvidedRole__ProvidedInfrastructureDelegationConnector(InfrastructureProvidedRole newOuterProvidedRole__ProvidedInfrastructureDelegationConnector) {
160                InfrastructureProvidedRole oldOuterProvidedRole__ProvidedInfrastructureDelegationConnector = outerProvidedRole__ProvidedInfrastructureDelegationConnector;
161                outerProvidedRole__ProvidedInfrastructureDelegationConnector = newOuterProvidedRole__ProvidedInfrastructureDelegationConnector;
162                if (eNotificationRequired())
163                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldOuterProvidedRole__ProvidedInfrastructureDelegationConnector, outerProvidedRole__ProvidedInfrastructureDelegationConnector));
164        }
165 
166        /**
167         * <!-- begin-user-doc -->
168         * <!-- end-user-doc -->
169         * @generated
170         */
171        public AssemblyContext getAssemblyContext__ProvidedInfrastructureDelegationConnector() {
172                if (assemblyContext__ProvidedInfrastructureDelegationConnector != null && assemblyContext__ProvidedInfrastructureDelegationConnector.eIsProxy()) {
173                        InternalEObject oldAssemblyContext__ProvidedInfrastructureDelegationConnector = (InternalEObject)assemblyContext__ProvidedInfrastructureDelegationConnector;
174                        assemblyContext__ProvidedInfrastructureDelegationConnector = (AssemblyContext)eResolveProxy(oldAssemblyContext__ProvidedInfrastructureDelegationConnector);
175                        if (assemblyContext__ProvidedInfrastructureDelegationConnector != oldAssemblyContext__ProvidedInfrastructureDelegationConnector) {
176                                if (eNotificationRequired())
177                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldAssemblyContext__ProvidedInfrastructureDelegationConnector, assemblyContext__ProvidedInfrastructureDelegationConnector));
178                        }
179                }
180                return assemblyContext__ProvidedInfrastructureDelegationConnector;
181        }
182 
183        /**
184         * <!-- begin-user-doc -->
185         * <!-- end-user-doc -->
186         * @generated
187         */
188        public AssemblyContext basicGetAssemblyContext__ProvidedInfrastructureDelegationConnector() {
189                return assemblyContext__ProvidedInfrastructureDelegationConnector;
190        }
191 
192        /**
193         * <!-- begin-user-doc -->
194         * <!-- end-user-doc -->
195         * @generated
196         */
197        public void setAssemblyContext__ProvidedInfrastructureDelegationConnector(AssemblyContext newAssemblyContext__ProvidedInfrastructureDelegationConnector) {
198                AssemblyContext oldAssemblyContext__ProvidedInfrastructureDelegationConnector = assemblyContext__ProvidedInfrastructureDelegationConnector;
199                assemblyContext__ProvidedInfrastructureDelegationConnector = newAssemblyContext__ProvidedInfrastructureDelegationConnector;
200                if (eNotificationRequired())
201                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldAssemblyContext__ProvidedInfrastructureDelegationConnector, assemblyContext__ProvidedInfrastructureDelegationConnector));
202        }
203 
204        /**
205         * <!-- begin-user-doc -->
206         * <!-- end-user-doc -->
207         * @generated
208         */
209        @Override
210        public Object eGet(int featureID, boolean resolve, boolean coreType) {
211                switch (featureID) {
212                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
213                                if (resolve) return getInnerProvidedRole__ProvidedInfrastructureDelegationConnector();
214                                return basicGetInnerProvidedRole__ProvidedInfrastructureDelegationConnector();
215                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
216                                if (resolve) return getOuterProvidedRole__ProvidedInfrastructureDelegationConnector();
217                                return basicGetOuterProvidedRole__ProvidedInfrastructureDelegationConnector();
218                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
219                                if (resolve) return getAssemblyContext__ProvidedInfrastructureDelegationConnector();
220                                return basicGetAssemblyContext__ProvidedInfrastructureDelegationConnector();
221                }
222                return super.eGet(featureID, resolve, coreType);
223        }
224 
225        /**
226         * <!-- begin-user-doc -->
227         * <!-- end-user-doc -->
228         * @generated
229         */
230        @Override
231        public void eSet(int featureID, Object newValue) {
232                switch (featureID) {
233                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
234                                setInnerProvidedRole__ProvidedInfrastructureDelegationConnector((InfrastructureProvidedRole)newValue);
235                                return;
236                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
237                                setOuterProvidedRole__ProvidedInfrastructureDelegationConnector((InfrastructureProvidedRole)newValue);
238                                return;
239                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
240                                setAssemblyContext__ProvidedInfrastructureDelegationConnector((AssemblyContext)newValue);
241                                return;
242                }
243                super.eSet(featureID, newValue);
244        }
245 
246        /**
247         * <!-- begin-user-doc -->
248         * <!-- end-user-doc -->
249         * @generated
250         */
251        @Override
252        public void eUnset(int featureID) {
253                switch (featureID) {
254                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
255                                setInnerProvidedRole__ProvidedInfrastructureDelegationConnector((InfrastructureProvidedRole)null);
256                                return;
257                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
258                                setOuterProvidedRole__ProvidedInfrastructureDelegationConnector((InfrastructureProvidedRole)null);
259                                return;
260                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
261                                setAssemblyContext__ProvidedInfrastructureDelegationConnector((AssemblyContext)null);
262                                return;
263                }
264                super.eUnset(featureID);
265        }
266 
267        /**
268         * <!-- begin-user-doc -->
269         * <!-- end-user-doc -->
270         * @generated
271         */
272        @Override
273        public boolean eIsSet(int featureID) {
274                switch (featureID) {
275                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
276                                return innerProvidedRole__ProvidedInfrastructureDelegationConnector != null;
277                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_PROVIDED_ROLE_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
278                                return outerProvidedRole__ProvidedInfrastructureDelegationConnector != null;
279                        case CompositionPackage.PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_PROVIDED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
280                                return assemblyContext__ProvidedInfrastructureDelegationConnector != null;
281                }
282                return super.eIsSet(featureID);
283        }
284 
285} //ProvidedInfrastructureDelegationConnectorImpl

[all classes][de.uka.ipd.sdq.pcm.core.composition.impl]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov