public EList getEStructuralFeaturesInternal() { // An internal method for returning actual wo fluffing up. return super.getEStructuralFeatures(); }
public EList getEStructuralFeatures() { IIntrospectionAdapter adapter = getIntrospectionAdapter(); if (adapter != null) return adapter.getEStructuralFeatures(); return super.getEStructuralFeatures(); }
return; case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: getEStructuralFeatures().clear(); getEStructuralFeatures().addAll((Collection<? extends EStructuralFeature>)newValue); return; case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES:
return; case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: getEStructuralFeatures().clear(); getEStructuralFeatures().addAll((Collection<? extends EStructuralFeature>)newValue); return; case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES:
for (Iterator<EStructuralFeature> i = getEStructuralFeatures().iterator(); i.hasNext(); ++featureID) result.addAll(getEStructuralFeatures());
for (Iterator<EStructuralFeature> i = getEStructuralFeatures().iterator(); i.hasNext(); ++featureID) result.addAll(getEStructuralFeatures());
return; case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: getEStructuralFeatures().clear(); return; case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES:
return; case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: getEStructuralFeatures().clear(); return; case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES:
for (EStructuralFeature eStructuralFeature : getEStructuralFeatures())
for (EStructuralFeature eStructuralFeature : getEStructuralFeatures())
for (EStructuralFeature eStructuralFeature : getEStructuralFeatures())
for (EStructuralFeature eStructuralFeature : getEStructuralFeatures())
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case EcorePackage.ECLASS__EANNOTATIONS: return ((InternalEList<InternalEObject>)(InternalEList<?>)getEAnnotations()).basicAdd(otherEnd, msgs); case EcorePackage.ECLASS__EPACKAGE: if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); return eBasicSetContainer(otherEnd, EcorePackage.ECLASS__EPACKAGE, msgs); case EcorePackage.ECLASS__EOPERATIONS: return ((InternalEList<InternalEObject>)(InternalEList<?>)getEOperations()).basicAdd(otherEnd, msgs); case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: return ((InternalEList<InternalEObject>)(InternalEList<?>)getEStructuralFeatures()).basicAdd(otherEnd, msgs); } return eDynamicInverseAdd(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @SuppressWarnings("unchecked") @Override public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case EcorePackage.ECLASS__EANNOTATIONS: return ((InternalEList<InternalEObject>)(InternalEList<?>)getEAnnotations()).basicAdd(otherEnd, msgs); case EcorePackage.ECLASS__EPACKAGE: if (eInternalContainer() != null) msgs = eBasicRemoveFromContainer(msgs); return eBasicSetContainer(otherEnd, EcorePackage.ECLASS__EPACKAGE, msgs); case EcorePackage.ECLASS__EOPERATIONS: return ((InternalEList<InternalEObject>)(InternalEList<?>)getEOperations()).basicAdd(otherEnd, msgs); case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: return ((InternalEList<InternalEObject>)(InternalEList<?>)getEStructuralFeatures()).basicAdd(otherEnd, msgs); } return eDynamicInverseAdd(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case EcorePackage.ECLASS__EANNOTATIONS: return ((InternalEList<?>)getEAnnotations()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__EPACKAGE: return eBasicSetContainer(null, EcorePackage.ECLASS__EPACKAGE, msgs); case EcorePackage.ECLASS__ETYPE_PARAMETERS: return ((InternalEList<?>)getETypeParameters()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__EOPERATIONS: return ((InternalEList<?>)getEOperations()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: return ((InternalEList<?>)getEStructuralFeatures()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES: return ((InternalEList<?>)getEGenericSuperTypes()).basicRemove(otherEnd, msgs); } return eDynamicInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case EcorePackage.ECLASS__EANNOTATIONS: return ((InternalEList<?>)getEAnnotations()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__EPACKAGE: return eBasicSetContainer(null, EcorePackage.ECLASS__EPACKAGE, msgs); case EcorePackage.ECLASS__ETYPE_PARAMETERS: return ((InternalEList<?>)getETypeParameters()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__EOPERATIONS: return ((InternalEList<?>)getEOperations()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: return ((InternalEList<?>)getEStructuralFeatures()).basicRemove(otherEnd, msgs); case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES: return ((InternalEList<?>)getEGenericSuperTypes()).basicRemove(otherEnd, msgs); } return eDynamicInverseRemove(otherEnd, featureID, msgs); }
return getEIDAttribute(); case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: return getEStructuralFeatures(); case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES: return getEGenericSuperTypes();
return getEIDAttribute(); case EcorePackage.ECLASS__ESTRUCTURAL_FEATURES: return getEStructuralFeatures(); case EcorePackage.ECLASS__EGENERIC_SUPER_TYPES: return getEGenericSuperTypes();