/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public NotificationChain basicUnsetEGenericType(NotificationChain msgs) { msgs = setEType(null, msgs); return basicSetEGenericType(null, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public NotificationChain basicUnsetEGenericType(NotificationChain msgs) { msgs = setEType(null, msgs); return basicSetEGenericType(null, msgs); }
public NotificationChain setEGenericType(EGenericType newEGenericType, NotificationChain msgs) { if (newEGenericType != eGenericType) { if (eGenericType != null) msgs = ((InternalEObject)eGenericType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EcorePackage.ETYPED_ELEMENT__EGENERIC_TYPE, null, msgs); if (newEGenericType != null) msgs = ((InternalEObject)newEGenericType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EcorePackage.ETYPED_ELEMENT__EGENERIC_TYPE, null, msgs); msgs = basicSetEGenericType(newEGenericType, msgs); } else if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__EGENERIC_TYPE, newEGenericType, newEGenericType); if (msgs == null) { msgs = notification; } else { msgs.add(notification); } } return msgs; }
public NotificationChain setEGenericType(EGenericType newEGenericType, NotificationChain msgs) { if (newEGenericType != eGenericType) { if (eGenericType != null) msgs = ((InternalEObject)eGenericType).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - EcorePackage.ETYPED_ELEMENT__EGENERIC_TYPE, null, msgs); if (newEGenericType != null) msgs = ((InternalEObject)newEGenericType).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - EcorePackage.ETYPED_ELEMENT__EGENERIC_TYPE, null, msgs); msgs = basicSetEGenericType(newEGenericType, msgs); } else if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__EGENERIC_TYPE, newEGenericType, newEGenericType); if (msgs == null) { msgs = notification; } else { msgs.add(notification); } } return msgs; }