/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOperations(OperationsType newOperations) { if (newOperations != operations) { NotificationChain msgs = null; if (operations != null) msgs = ((InternalEObject)operations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS, null, msgs); if (newOperations != null) msgs = ((InternalEObject)newOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS, null, msgs); msgs = basicSetOperations(newOperations, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS, newOperations, newOperations)); }
/** * <!-- 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 setOperations(OperationsType newOperations) { if (newOperations != operations) { NotificationChain msgs = null; if (operations != null) msgs = ((InternalEObject)operations).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS, null, msgs); if (newOperations != null) msgs = ((InternalEObject)newOperations).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS, null, msgs); msgs = basicSetOperations(newOperations, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.FEATURE_TYPE_TYPE__OPERATIONS, newOperations, newOperations)); }
/** * <!-- 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); }