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 [RequiredInfrastructureDelegationConnectorImpl.java]

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

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class RequiredInfrastructureDelegationConnectorImpl0%   (0/1)0%   (0/15)0%   (0/290)0%   (0/73)
RequiredInfrastructureDelegationConnectorImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
basicGetAssemblyContext__RequiredInfrastructureDelegationConnector (): Assemb... 0%   (0/1)0%   (0/3)0%   (0/1)
basicGetInnerRequiredRole__RequiredInfrastructureDelegationConnector (): Infr... 0%   (0/1)0%   (0/3)0%   (0/1)
basicGetOuterRequiredRole__RequiredInfrastructureDelegationConnector (): 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__RequiredInfrastructureDelegationConnector (): AssemblyCon... 0%   (0/1)0%   (0/38)0%   (0/7)
getInnerRequiredRole__RequiredInfrastructureDelegationConnector (): Infrastru... 0%   (0/1)0%   (0/38)0%   (0/7)
getOuterRequiredRole__RequiredInfrastructureDelegationConnector (): Infrastru... 0%   (0/1)0%   (0/38)0%   (0/7)
setAssemblyContext__RequiredInfrastructureDelegationConnector (AssemblyContex... 0%   (0/1)0%   (0/21)0%   (0/5)
setInnerRequiredRole__RequiredInfrastructureDelegationConnector (Infrastructu... 0%   (0/1)0%   (0/21)0%   (0/5)
setOuterRequiredRole__RequiredInfrastructureDelegationConnector (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.RequiredInfrastructureDelegationConnector;
16import de.uka.ipd.sdq.pcm.repository.InfrastructureRequiredRole;
17 
18/**
19 * <!-- begin-user-doc -->
20 * An implementation of the model object '<em><b>Required 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.RequiredInfrastructureDelegationConnectorImpl#getInnerRequiredRole__RequiredInfrastructureDelegationConnector <em>Inner Required Role Required Infrastructure Delegation Connector</em>}</li>
26 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.RequiredInfrastructureDelegationConnectorImpl#getOuterRequiredRole__RequiredInfrastructureDelegationConnector <em>Outer Required Role Required Infrastructure Delegation Connector</em>}</li>
27 *   <li>{@link de.uka.ipd.sdq.pcm.core.composition.impl.RequiredInfrastructureDelegationConnectorImpl#getAssemblyContext__RequiredInfrastructureDelegationConnector <em>Assembly Context Required Infrastructure Delegation Connector</em>}</li>
28 * </ul>
29 * </p>
30 *
31 * @generated
32 */
33public class RequiredInfrastructureDelegationConnectorImpl extends DelegationConnectorImpl implements RequiredInfrastructureDelegationConnector {
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 #getInnerRequiredRole__RequiredInfrastructureDelegationConnector() <em>Inner Required Role Required Infrastructure Delegation Connector</em>}' reference.
43         * <!-- begin-user-doc -->
44         * <!-- end-user-doc -->
45         * @see #getInnerRequiredRole__RequiredInfrastructureDelegationConnector()
46         * @generated
47         * @ordered
48         */
49        protected InfrastructureRequiredRole innerRequiredRole__RequiredInfrastructureDelegationConnector;
50 
51        /**
52         * The cached value of the '{@link #getOuterRequiredRole__RequiredInfrastructureDelegationConnector() <em>Outer Required Role Required Infrastructure Delegation Connector</em>}' reference.
53         * <!-- begin-user-doc -->
54         * <!-- end-user-doc -->
55         * @see #getOuterRequiredRole__RequiredInfrastructureDelegationConnector()
56         * @generated
57         * @ordered
58         */
59        protected InfrastructureRequiredRole outerRequiredRole__RequiredInfrastructureDelegationConnector;
60 
61        /**
62         * The cached value of the '{@link #getAssemblyContext__RequiredInfrastructureDelegationConnector() <em>Assembly Context Required Infrastructure Delegation Connector</em>}' reference.
63         * <!-- begin-user-doc -->
64         * <!-- end-user-doc -->
65         * @see #getAssemblyContext__RequiredInfrastructureDelegationConnector()
66         * @generated
67         * @ordered
68         */
69        protected AssemblyContext assemblyContext__RequiredInfrastructureDelegationConnector;
70 
71        /**
72         * <!-- begin-user-doc -->
73         * <!-- end-user-doc -->
74         * @generated
75         */
76        protected RequiredInfrastructureDelegationConnectorImpl() {
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.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR;
88        }
89 
90        /**
91         * <!-- begin-user-doc -->
92         * <!-- end-user-doc -->
93         * @generated
94         */
95        public InfrastructureRequiredRole getInnerRequiredRole__RequiredInfrastructureDelegationConnector() {
96                if (innerRequiredRole__RequiredInfrastructureDelegationConnector != null && innerRequiredRole__RequiredInfrastructureDelegationConnector.eIsProxy()) {
97                        InternalEObject oldInnerRequiredRole__RequiredInfrastructureDelegationConnector = (InternalEObject)innerRequiredRole__RequiredInfrastructureDelegationConnector;
98                        innerRequiredRole__RequiredInfrastructureDelegationConnector = (InfrastructureRequiredRole)eResolveProxy(oldInnerRequiredRole__RequiredInfrastructureDelegationConnector);
99                        if (innerRequiredRole__RequiredInfrastructureDelegationConnector != oldInnerRequiredRole__RequiredInfrastructureDelegationConnector) {
100                                if (eNotificationRequired())
101                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldInnerRequiredRole__RequiredInfrastructureDelegationConnector, innerRequiredRole__RequiredInfrastructureDelegationConnector));
102                        }
103                }
104                return innerRequiredRole__RequiredInfrastructureDelegationConnector;
105        }
106 
107        /**
108         * <!-- begin-user-doc -->
109         * <!-- end-user-doc -->
110         * @generated
111         */
112        public InfrastructureRequiredRole basicGetInnerRequiredRole__RequiredInfrastructureDelegationConnector() {
113                return innerRequiredRole__RequiredInfrastructureDelegationConnector;
114        }
115 
116        /**
117         * <!-- begin-user-doc -->
118         * <!-- end-user-doc -->
119         * @generated
120         */
121        public void setInnerRequiredRole__RequiredInfrastructureDelegationConnector(InfrastructureRequiredRole newInnerRequiredRole__RequiredInfrastructureDelegationConnector) {
122                InfrastructureRequiredRole oldInnerRequiredRole__RequiredInfrastructureDelegationConnector = innerRequiredRole__RequiredInfrastructureDelegationConnector;
123                innerRequiredRole__RequiredInfrastructureDelegationConnector = newInnerRequiredRole__RequiredInfrastructureDelegationConnector;
124                if (eNotificationRequired())
125                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldInnerRequiredRole__RequiredInfrastructureDelegationConnector, innerRequiredRole__RequiredInfrastructureDelegationConnector));
126        }
127 
128        /**
129         * <!-- begin-user-doc -->
130         * <!-- end-user-doc -->
131         * @generated
132         */
133        public InfrastructureRequiredRole getOuterRequiredRole__RequiredInfrastructureDelegationConnector() {
134                if (outerRequiredRole__RequiredInfrastructureDelegationConnector != null && outerRequiredRole__RequiredInfrastructureDelegationConnector.eIsProxy()) {
135                        InternalEObject oldOuterRequiredRole__RequiredInfrastructureDelegationConnector = (InternalEObject)outerRequiredRole__RequiredInfrastructureDelegationConnector;
136                        outerRequiredRole__RequiredInfrastructureDelegationConnector = (InfrastructureRequiredRole)eResolveProxy(oldOuterRequiredRole__RequiredInfrastructureDelegationConnector);
137                        if (outerRequiredRole__RequiredInfrastructureDelegationConnector != oldOuterRequiredRole__RequiredInfrastructureDelegationConnector) {
138                                if (eNotificationRequired())
139                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldOuterRequiredRole__RequiredInfrastructureDelegationConnector, outerRequiredRole__RequiredInfrastructureDelegationConnector));
140                        }
141                }
142                return outerRequiredRole__RequiredInfrastructureDelegationConnector;
143        }
144 
145        /**
146         * <!-- begin-user-doc -->
147         * <!-- end-user-doc -->
148         * @generated
149         */
150        public InfrastructureRequiredRole basicGetOuterRequiredRole__RequiredInfrastructureDelegationConnector() {
151                return outerRequiredRole__RequiredInfrastructureDelegationConnector;
152        }
153 
154        /**
155         * <!-- begin-user-doc -->
156         * <!-- end-user-doc -->
157         * @generated
158         */
159        public void setOuterRequiredRole__RequiredInfrastructureDelegationConnector(InfrastructureRequiredRole newOuterRequiredRole__RequiredInfrastructureDelegationConnector) {
160                InfrastructureRequiredRole oldOuterRequiredRole__RequiredInfrastructureDelegationConnector = outerRequiredRole__RequiredInfrastructureDelegationConnector;
161                outerRequiredRole__RequiredInfrastructureDelegationConnector = newOuterRequiredRole__RequiredInfrastructureDelegationConnector;
162                if (eNotificationRequired())
163                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldOuterRequiredRole__RequiredInfrastructureDelegationConnector, outerRequiredRole__RequiredInfrastructureDelegationConnector));
164        }
165 
166        /**
167         * <!-- begin-user-doc -->
168         * <!-- end-user-doc -->
169         * @generated
170         */
171        public AssemblyContext getAssemblyContext__RequiredInfrastructureDelegationConnector() {
172                if (assemblyContext__RequiredInfrastructureDelegationConnector != null && assemblyContext__RequiredInfrastructureDelegationConnector.eIsProxy()) {
173                        InternalEObject oldAssemblyContext__RequiredInfrastructureDelegationConnector = (InternalEObject)assemblyContext__RequiredInfrastructureDelegationConnector;
174                        assemblyContext__RequiredInfrastructureDelegationConnector = (AssemblyContext)eResolveProxy(oldAssemblyContext__RequiredInfrastructureDelegationConnector);
175                        if (assemblyContext__RequiredInfrastructureDelegationConnector != oldAssemblyContext__RequiredInfrastructureDelegationConnector) {
176                                if (eNotificationRequired())
177                                        eNotify(new ENotificationImpl(this, Notification.RESOLVE, CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldAssemblyContext__RequiredInfrastructureDelegationConnector, assemblyContext__RequiredInfrastructureDelegationConnector));
178                        }
179                }
180                return assemblyContext__RequiredInfrastructureDelegationConnector;
181        }
182 
183        /**
184         * <!-- begin-user-doc -->
185         * <!-- end-user-doc -->
186         * @generated
187         */
188        public AssemblyContext basicGetAssemblyContext__RequiredInfrastructureDelegationConnector() {
189                return assemblyContext__RequiredInfrastructureDelegationConnector;
190        }
191 
192        /**
193         * <!-- begin-user-doc -->
194         * <!-- end-user-doc -->
195         * @generated
196         */
197        public void setAssemblyContext__RequiredInfrastructureDelegationConnector(AssemblyContext newAssemblyContext__RequiredInfrastructureDelegationConnector) {
198                AssemblyContext oldAssemblyContext__RequiredInfrastructureDelegationConnector = assemblyContext__RequiredInfrastructureDelegationConnector;
199                assemblyContext__RequiredInfrastructureDelegationConnector = newAssemblyContext__RequiredInfrastructureDelegationConnector;
200                if (eNotificationRequired())
201                        eNotify(new ENotificationImpl(this, Notification.SET, CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR, oldAssemblyContext__RequiredInfrastructureDelegationConnector, assemblyContext__RequiredInfrastructureDelegationConnector));
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.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
213                                if (resolve) return getInnerRequiredRole__RequiredInfrastructureDelegationConnector();
214                                return basicGetInnerRequiredRole__RequiredInfrastructureDelegationConnector();
215                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
216                                if (resolve) return getOuterRequiredRole__RequiredInfrastructureDelegationConnector();
217                                return basicGetOuterRequiredRole__RequiredInfrastructureDelegationConnector();
218                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
219                                if (resolve) return getAssemblyContext__RequiredInfrastructureDelegationConnector();
220                                return basicGetAssemblyContext__RequiredInfrastructureDelegationConnector();
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.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
234                                setInnerRequiredRole__RequiredInfrastructureDelegationConnector((InfrastructureRequiredRole)newValue);
235                                return;
236                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
237                                setOuterRequiredRole__RequiredInfrastructureDelegationConnector((InfrastructureRequiredRole)newValue);
238                                return;
239                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
240                                setAssemblyContext__RequiredInfrastructureDelegationConnector((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.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
255                                setInnerRequiredRole__RequiredInfrastructureDelegationConnector((InfrastructureRequiredRole)null);
256                                return;
257                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
258                                setOuterRequiredRole__RequiredInfrastructureDelegationConnector((InfrastructureRequiredRole)null);
259                                return;
260                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
261                                setAssemblyContext__RequiredInfrastructureDelegationConnector((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.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__INNER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
276                                return innerRequiredRole__RequiredInfrastructureDelegationConnector != null;
277                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__OUTER_REQUIRED_ROLE_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
278                                return outerRequiredRole__RequiredInfrastructureDelegationConnector != null;
279                        case CompositionPackage.REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR__ASSEMBLY_CONTEXT_REQUIRED_INFRASTRUCTURE_DELEGATION_CONNECTOR:
280                                return assemblyContext__RequiredInfrastructureDelegationConnector != null;
281                }
282                return super.eIsSet(featureID);
283        }
284 
285} //RequiredInfrastructureDelegationConnectorImpl

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