/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setNoSRS(NoSRSType newNoSRS) { if (newNoSRS != noSRS) { NotificationChain msgs = null; if (noSRS != null) msgs = ((InternalEObject)noSRS).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__NO_SRS, null, msgs); if (newNoSRS != null) msgs = ((InternalEObject)newNoSRS).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__NO_SRS, null, msgs); msgs = basicSetNoSRS(newNoSRS, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.FEATURE_TYPE_TYPE__NO_SRS, newNoSRS, newNoSRS)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.FEATURE_TYPE_TYPE__KEYWORDS: return ((InternalEList)getKeywords()).basicRemove(otherEnd, msgs); case WfsPackage.FEATURE_TYPE_TYPE__NO_SRS: return basicSetNoSRS(null, msgs); case WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS: return basicSetOperations(null, msgs); case WfsPackage.FEATURE_TYPE_TYPE__OUTPUT_FORMATS: return basicSetOutputFormats(null, msgs); case WfsPackage.FEATURE_TYPE_TYPE__WGS84_BOUNDING_BOX: return ((InternalEList)getWGS84BoundingBox()).basicRemove(otherEnd, msgs); case WfsPackage.FEATURE_TYPE_TYPE__METADATA_URL: return ((InternalEList)getMetadataURL()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setNoSRS(NoSRSType newNoSRS) { if (newNoSRS != noSRS) { NotificationChain msgs = null; if (noSRS != null) msgs = ((InternalEObject)noSRS).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__NO_SRS, null, msgs); if (newNoSRS != null) msgs = ((InternalEObject)newNoSRS).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__NO_SRS, null, msgs); msgs = basicSetNoSRS(newNoSRS, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.FEATURE_TYPE_TYPE__NO_SRS, newNoSRS, newNoSRS)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.FEATURE_TYPE_TYPE__KEYWORDS: return ((InternalEList)getKeywords()).basicRemove(otherEnd, msgs); case WfsPackage.FEATURE_TYPE_TYPE__NO_SRS: return basicSetNoSRS(null, msgs); case WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS: return basicSetOperations(null, msgs); case WfsPackage.FEATURE_TYPE_TYPE__OUTPUT_FORMATS: return basicSetOutputFormats(null, msgs); case WfsPackage.FEATURE_TYPE_TYPE__WGS84_BOUNDING_BOX: return ((InternalEList)getWGS84BoundingBox()).basicRemove(otherEnd, msgs); case WfsPackage.FEATURE_TYPE_TYPE__METADATA_URL: return ((InternalEList)getMetadataURL()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }