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

COVERAGE SUMMARY FOR SOURCE FILE [ComposedProvidingRequiringEntityImpl.java]

nameclass, %method, %block, %line, %
ComposedProvidingRequiringEntityImpl.java0%   (0/1)0%   (0/14)0%   (0/359)0%   (0/102)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class ComposedProvidingRequiringEntityImpl0%   (0/1)0%   (0/14)0%   (0/359)0%   (0/102)
ComposedProvidingRequiringEntityImpl (): void 0%   (0/1)0%   (0/3)0%   (0/2)
ProvidedRolesMustBeBound (DiagnosticChain, Map): boolean 0%   (0/1)0%   (0/62)0%   (0/17)
eBaseStructuralFeatureID (int, Class): int 0%   (0/1)0%   (0/39)0%   (0/16)
eDerivedStructuralFeatureID (int, Class): int 0%   (0/1)0%   (0/39)0%   (0/16)
eGet (int, boolean, boolean): Object 0%   (0/1)0%   (0/17)0%   (0/5)
eInverseAdd (InternalEObject, int, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/5)
eInverseRemove (InternalEObject, int, NotificationChain): NotificationChain 0%   (0/1)0%   (0/29)0%   (0/5)
eIsSet (int): boolean 0%   (0/1)0%   (0/39)0%   (0/5)
eSet (int, Object): void 0%   (0/1)0%   (0/37)0%   (0/12)
eStaticClass (): EClass 0%   (0/1)0%   (0/2)0%   (0/1)
eUnset (int): void 0%   (0/1)0%   (0/18)0%   (0/9)
getProvidedRoles_InterfaceProvidingEntity (): EList 0%   (0/1)0%   (0/15)0%   (0/3)
getRequiredRoles_InterfaceRequiringEntity (): EList 0%   (0/1)0%   (0/15)0%   (0/3)
getResourceRequiredRoles__ResourceInterfaceRequiringEntity (): EList 0%   (0/1)0%   (0/15)0%   (0/3)

1/**
2 * Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany
3 *
4 * $Id$
5 */
6package de.uka.ipd.sdq.pcm.core.entity.impl;
7 
8import java.util.Collection;
9import java.util.Map;
10 
11import org.eclipse.emf.common.notify.NotificationChain;
12import org.eclipse.emf.common.util.BasicDiagnostic;
13import org.eclipse.emf.common.util.Diagnostic;
14import org.eclipse.emf.common.util.DiagnosticChain;
15import org.eclipse.emf.common.util.EList;
16import org.eclipse.emf.ecore.EClass;
17import org.eclipse.emf.ecore.InternalEObject;
18import org.eclipse.emf.ecore.plugin.EcorePlugin;
19import org.eclipse.emf.ecore.util.EObjectContainmentWithInverseEList;
20import org.eclipse.emf.ecore.util.EObjectValidator;
21import org.eclipse.emf.ecore.util.InternalEList;
22import org.eclipse.ocl.ParserException;
23import org.eclipse.ocl.ecore.Constraint;
24import org.eclipse.ocl.ecore.OCL;
25 
26import de.uka.ipd.sdq.pcm.core.composition.impl.ComposedStructureImpl;
27import de.uka.ipd.sdq.pcm.core.entity.ComposedProvidingRequiringEntity;
28import de.uka.ipd.sdq.pcm.core.entity.EntityPackage;
29import de.uka.ipd.sdq.pcm.core.entity.InterfaceProvidingEntity;
30import de.uka.ipd.sdq.pcm.core.entity.InterfaceProvidingRequiringEntity;
31import de.uka.ipd.sdq.pcm.core.entity.InterfaceRequiringEntity;
32import de.uka.ipd.sdq.pcm.core.entity.ResourceInterfaceRequiringEntity;
33import de.uka.ipd.sdq.pcm.core.entity.ResourceRequiredRole;
34import de.uka.ipd.sdq.pcm.core.entity.util.EntityValidator;
35import de.uka.ipd.sdq.pcm.repository.ProvidedRole;
36import de.uka.ipd.sdq.pcm.repository.RepositoryPackage;
37import de.uka.ipd.sdq.pcm.repository.RequiredRole;
38 
39/**
40 * <!-- begin-user-doc -->
41 * An implementation of the model object '<em><b>Composed Providing Requiring Entity</b></em>'.
42 * <!-- end-user-doc -->
43 * <p>
44 * The following features are implemented:
45 * <ul>
46 *   <li>{@link de.uka.ipd.sdq.pcm.core.entity.impl.ComposedProvidingRequiringEntityImpl#getProvidedRoles_InterfaceProvidingEntity <em>Provided Roles Interface Providing Entity</em>}</li>
47 *   <li>{@link de.uka.ipd.sdq.pcm.core.entity.impl.ComposedProvidingRequiringEntityImpl#getResourceRequiredRoles__ResourceInterfaceRequiringEntity <em>Resource Required Roles Resource Interface Requiring Entity</em>}</li>
48 *   <li>{@link de.uka.ipd.sdq.pcm.core.entity.impl.ComposedProvidingRequiringEntityImpl#getRequiredRoles_InterfaceRequiringEntity <em>Required Roles Interface Requiring Entity</em>}</li>
49 * </ul>
50 * </p>
51 *
52 * @generated
53 */
54public abstract class ComposedProvidingRequiringEntityImpl extends ComposedStructureImpl implements ComposedProvidingRequiringEntity {
55        /**
56         * <!-- begin-user-doc -->
57         * <!-- end-user-doc -->
58         * @generated
59         */
60        public static final String copyright = "Copyright 2005-2009 by SDQ, IPD, University of Karlsruhe, Germany";
61 
62        /**
63         * The cached value of the '{@link #getProvidedRoles_InterfaceProvidingEntity() <em>Provided Roles Interface Providing Entity</em>}' containment reference list.
64         * <!-- begin-user-doc -->
65         * <!-- end-user-doc -->
66         * @see #getProvidedRoles_InterfaceProvidingEntity()
67         * @generated
68         * @ordered
69         */
70        protected EList<ProvidedRole> providedRoles_InterfaceProvidingEntity;
71 
72        /**
73         * The cached value of the '{@link #getResourceRequiredRoles__ResourceInterfaceRequiringEntity() <em>Resource Required Roles Resource Interface Requiring Entity</em>}' containment reference list.
74         * <!-- begin-user-doc -->
75         * <!-- end-user-doc -->
76         * @see #getResourceRequiredRoles__ResourceInterfaceRequiringEntity()
77         * @generated
78         * @ordered
79         */
80        protected EList<ResourceRequiredRole> resourceRequiredRoles__ResourceInterfaceRequiringEntity;
81 
82        /**
83         * The cached value of the '{@link #getRequiredRoles_InterfaceRequiringEntity() <em>Required Roles Interface Requiring Entity</em>}' containment reference list.
84         * <!-- begin-user-doc -->
85         * <!-- end-user-doc -->
86         * @see #getRequiredRoles_InterfaceRequiringEntity()
87         * @generated
88         * @ordered
89         */
90        protected EList<RequiredRole> requiredRoles_InterfaceRequiringEntity;
91 
92        /**
93         * <!-- begin-user-doc -->
94         * <!-- end-user-doc -->
95         * @generated
96         */
97        protected ComposedProvidingRequiringEntityImpl() {
98                super();
99        }
100 
101        /**
102         * <!-- begin-user-doc -->
103         * <!-- end-user-doc -->
104         * @generated
105         */
106        @Override
107        protected EClass eStaticClass() {
108                return EntityPackage.Literals.COMPOSED_PROVIDING_REQUIRING_ENTITY;
109        }
110 
111        /**
112         * <!-- begin-user-doc -->
113         * <!-- end-user-doc -->
114         * @generated
115         */
116        public EList<ProvidedRole> getProvidedRoles_InterfaceProvidingEntity() {
117                if (providedRoles_InterfaceProvidingEntity == null) {
118                        providedRoles_InterfaceProvidingEntity = new EObjectContainmentWithInverseEList<ProvidedRole>(ProvidedRole.class, this, EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY, RepositoryPackage.PROVIDED_ROLE__PROVIDING_ENTITY_PROVIDED_ROLE);
119                }
120                return providedRoles_InterfaceProvidingEntity;
121        }
122 
123        /**
124         * <!-- begin-user-doc -->
125         * <!-- end-user-doc -->
126         * @generated
127         */
128        public EList<ResourceRequiredRole> getResourceRequiredRoles__ResourceInterfaceRequiringEntity() {
129                if (resourceRequiredRoles__ResourceInterfaceRequiringEntity == null) {
130                        resourceRequiredRoles__ResourceInterfaceRequiringEntity = new EObjectContainmentWithInverseEList<ResourceRequiredRole>(ResourceRequiredRole.class, this, EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY, EntityPackage.RESOURCE_REQUIRED_ROLE__RESOURCE_INTERFACE_REQUIRING_ENTITY_RESOURCE_REQUIRED_ROLE);
131                }
132                return resourceRequiredRoles__ResourceInterfaceRequiringEntity;
133        }
134 
135        /**
136         * <!-- begin-user-doc -->
137         * <!-- end-user-doc -->
138         * @generated
139         */
140        public EList<RequiredRole> getRequiredRoles_InterfaceRequiringEntity() {
141                if (requiredRoles_InterfaceRequiringEntity == null) {
142                        requiredRoles_InterfaceRequiringEntity = new EObjectContainmentWithInverseEList<RequiredRole>(RequiredRole.class, this, EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY, RepositoryPackage.REQUIRED_ROLE__REQUIRING_ENTITY_REQUIRED_ROLE);
143                }
144                return requiredRoles_InterfaceRequiringEntity;
145        }
146 
147        /**
148         * The cached OCL expression body for the '{@link #ProvidedRolesMustBeBound(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Provided Roles Must Be Bound</em>}' operation.
149         * <!-- begin-user-doc -->
150         * <!-- end-user-doc -->
151         * @see #ProvidedRolesMustBeBound(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
152         * @generated
153         * @ordered
154         */
155        protected static final String PROVIDED_ROLES_MUST_BE_BOUND__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP = "self.providedRoles_InterfaceProvidingEntity->forAll(role|self.connectors__ComposedStructure->select(conn | conn.oclIsTypeOf(pcm::core::composition::ProvidedDelegationConnector)).oclAsType(pcm::core::composition::ProvidedDelegationConnector)->exists(connector|connector.outerProvidedRole_ProvidedDelegationConnector = role))\n"+"\n"+"";
156 
157        /**
158         * The cached OCL invariant for the '{@link #ProvidedRolesMustBeBound(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map) <em>Provided Roles Must Be Bound</em>}' invariant operation.
159         * <!-- begin-user-doc -->
160         * <!-- end-user-doc -->
161         * @see #ProvidedRolesMustBeBound(org.eclipse.emf.common.util.DiagnosticChain, java.util.Map)
162         * @generated
163         * @ordered
164         */
165        protected static Constraint PROVIDED_ROLES_MUST_BE_BOUND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV;
166 
167        /**
168         * <!-- begin-user-doc -->
169         * <!-- end-user-doc -->
170         * @generated
171         */
172        public boolean ProvidedRolesMustBeBound(DiagnosticChain diagnostics, Map<Object, Object> context) {
173                if (PROVIDED_ROLES_MUST_BE_BOUND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV == null) {
174                        OCL.Helper helper = EOCL_ENV.createOCLHelper();
175                        helper.setContext(EntityPackage.Literals.COMPOSED_PROVIDING_REQUIRING_ENTITY);
176                        try {
177                                PROVIDED_ROLES_MUST_BE_BOUND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV = helper.createInvariant(PROVIDED_ROLES_MUST_BE_BOUND__DIAGNOSTIC_CHAIN_MAP__EOCL_EXP);
178                        }
179                        catch (ParserException pe) {
180                                throw new UnsupportedOperationException(pe.getLocalizedMessage());
181                        }
182                }
183                if (!EOCL_ENV.createQuery(PROVIDED_ROLES_MUST_BE_BOUND__DIAGNOSTIC_CHAIN_MAP__EOCL_INV).check(this)) {
184                        if (diagnostics != null) {
185                                diagnostics.add
186                                        (new BasicDiagnostic
187                                                (Diagnostic.ERROR,
188                                                 EntityValidator.DIAGNOSTIC_SOURCE,
189                                                 EntityValidator.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_MUST_BE_BOUND,
190                                                 EcorePlugin.INSTANCE.getString("_UI_GenericInvariant_diagnostic", new Object[] { "ProvidedRolesMustBeBound", EObjectValidator.getObjectLabel(this, context) }),
191                                                 new Object [] { this }));
192                        }
193                        return false;
194                }
195                return true;
196        }
197 
198        /**
199         * <!-- begin-user-doc -->
200         * <!-- end-user-doc -->
201         * @generated
202         */
203        @SuppressWarnings("unchecked")
204        @Override
205        public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
206                switch (featureID) {
207                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY:
208                                return ((InternalEList<InternalEObject>)(InternalEList<?>)getProvidedRoles_InterfaceProvidingEntity()).basicAdd(otherEnd, msgs);
209                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY:
210                                return ((InternalEList<InternalEObject>)(InternalEList<?>)getResourceRequiredRoles__ResourceInterfaceRequiringEntity()).basicAdd(otherEnd, msgs);
211                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY:
212                                return ((InternalEList<InternalEObject>)(InternalEList<?>)getRequiredRoles_InterfaceRequiringEntity()).basicAdd(otherEnd, msgs);
213                }
214                return super.eInverseAdd(otherEnd, featureID, msgs);
215        }
216 
217        /**
218         * <!-- begin-user-doc -->
219         * <!-- end-user-doc -->
220         * @generated
221         */
222        @Override
223        public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
224                switch (featureID) {
225                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY:
226                                return ((InternalEList<?>)getProvidedRoles_InterfaceProvidingEntity()).basicRemove(otherEnd, msgs);
227                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY:
228                                return ((InternalEList<?>)getResourceRequiredRoles__ResourceInterfaceRequiringEntity()).basicRemove(otherEnd, msgs);
229                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY:
230                                return ((InternalEList<?>)getRequiredRoles_InterfaceRequiringEntity()).basicRemove(otherEnd, msgs);
231                }
232                return super.eInverseRemove(otherEnd, featureID, msgs);
233        }
234 
235        /**
236         * <!-- begin-user-doc -->
237         * <!-- end-user-doc -->
238         * @generated
239         */
240        @Override
241        public Object eGet(int featureID, boolean resolve, boolean coreType) {
242                switch (featureID) {
243                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY:
244                                return getProvidedRoles_InterfaceProvidingEntity();
245                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY:
246                                return getResourceRequiredRoles__ResourceInterfaceRequiringEntity();
247                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY:
248                                return getRequiredRoles_InterfaceRequiringEntity();
249                }
250                return super.eGet(featureID, resolve, coreType);
251        }
252 
253        /**
254         * <!-- begin-user-doc -->
255         * <!-- end-user-doc -->
256         * @generated
257         */
258        @SuppressWarnings("unchecked")
259        @Override
260        public void eSet(int featureID, Object newValue) {
261                switch (featureID) {
262                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY:
263                                getProvidedRoles_InterfaceProvidingEntity().clear();
264                                getProvidedRoles_InterfaceProvidingEntity().addAll((Collection<? extends ProvidedRole>)newValue);
265                                return;
266                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY:
267                                getResourceRequiredRoles__ResourceInterfaceRequiringEntity().clear();
268                                getResourceRequiredRoles__ResourceInterfaceRequiringEntity().addAll((Collection<? extends ResourceRequiredRole>)newValue);
269                                return;
270                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY:
271                                getRequiredRoles_InterfaceRequiringEntity().clear();
272                                getRequiredRoles_InterfaceRequiringEntity().addAll((Collection<? extends RequiredRole>)newValue);
273                                return;
274                }
275                super.eSet(featureID, newValue);
276        }
277 
278        /**
279         * <!-- begin-user-doc -->
280         * <!-- end-user-doc -->
281         * @generated
282         */
283        @Override
284        public void eUnset(int featureID) {
285                switch (featureID) {
286                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY:
287                                getProvidedRoles_InterfaceProvidingEntity().clear();
288                                return;
289                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY:
290                                getResourceRequiredRoles__ResourceInterfaceRequiringEntity().clear();
291                                return;
292                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY:
293                                getRequiredRoles_InterfaceRequiringEntity().clear();
294                                return;
295                }
296                super.eUnset(featureID);
297        }
298 
299        /**
300         * <!-- begin-user-doc -->
301         * <!-- end-user-doc -->
302         * @generated
303         */
304        @Override
305        public boolean eIsSet(int featureID) {
306                switch (featureID) {
307                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY:
308                                return providedRoles_InterfaceProvidingEntity != null && !providedRoles_InterfaceProvidingEntity.isEmpty();
309                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY:
310                                return resourceRequiredRoles__ResourceInterfaceRequiringEntity != null && !resourceRequiredRoles__ResourceInterfaceRequiringEntity.isEmpty();
311                        case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY:
312                                return requiredRoles_InterfaceRequiringEntity != null && !requiredRoles_InterfaceRequiringEntity.isEmpty();
313                }
314                return super.eIsSet(featureID);
315        }
316 
317        /**
318         * <!-- begin-user-doc -->
319         * <!-- end-user-doc -->
320         * @generated
321         */
322        @Override
323        public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
324                if (baseClass == InterfaceProvidingEntity.class) {
325                        switch (derivedFeatureID) {
326                                case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY: return EntityPackage.INTERFACE_PROVIDING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY;
327                                default: return -1;
328                        }
329                }
330                if (baseClass == ResourceInterfaceRequiringEntity.class) {
331                        switch (derivedFeatureID) {
332                                case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY: return EntityPackage.RESOURCE_INTERFACE_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY;
333                                default: return -1;
334                        }
335                }
336                if (baseClass == InterfaceRequiringEntity.class) {
337                        switch (derivedFeatureID) {
338                                case EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY: return EntityPackage.INTERFACE_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY;
339                                default: return -1;
340                        }
341                }
342                if (baseClass == InterfaceProvidingRequiringEntity.class) {
343                        switch (derivedFeatureID) {
344                                default: return -1;
345                        }
346                }
347                return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
348        }
349 
350        /**
351         * <!-- begin-user-doc -->
352         * <!-- end-user-doc -->
353         * @generated
354         */
355        @Override
356        public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
357                if (baseClass == InterfaceProvidingEntity.class) {
358                        switch (baseFeatureID) {
359                                case EntityPackage.INTERFACE_PROVIDING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY: return EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__PROVIDED_ROLES_INTERFACE_PROVIDING_ENTITY;
360                                default: return -1;
361                        }
362                }
363                if (baseClass == ResourceInterfaceRequiringEntity.class) {
364                        switch (baseFeatureID) {
365                                case EntityPackage.RESOURCE_INTERFACE_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY: return EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__RESOURCE_REQUIRED_ROLES_RESOURCE_INTERFACE_REQUIRING_ENTITY;
366                                default: return -1;
367                        }
368                }
369                if (baseClass == InterfaceRequiringEntity.class) {
370                        switch (baseFeatureID) {
371                                case EntityPackage.INTERFACE_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY: return EntityPackage.COMPOSED_PROVIDING_REQUIRING_ENTITY__REQUIRED_ROLES_INTERFACE_REQUIRING_ENTITY;
372                                default: return -1;
373                        }
374                }
375                if (baseClass == InterfaceProvidingRequiringEntity.class) {
376                        switch (baseFeatureID) {
377                                default: return -1;
378                        }
379                }
380                return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
381        }
382 
383} //ComposedProvidingRequiringEntityImpl

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