/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setUpperBound(int newUpperBound) { int oldUpperBound = upperBound; upperBound = newUpperBound; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__UPPER_BOUND, oldUpperBound, upperBound)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setUnique(boolean newUnique) { boolean oldUnique = (eFlags & UNIQUE_EFLAG) != 0; if (newUnique) eFlags |= UNIQUE_EFLAG; else eFlags &= ~UNIQUE_EFLAG; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__UNIQUE, oldUnique, newUnique)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setUpperBound(int newUpperBound) { int oldUpperBound = upperBound; upperBound = newUpperBound; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__UPPER_BOUND, oldUpperBound, upperBound)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setLowerBound(int newLowerBound) { int oldLowerBound = lowerBound; lowerBound = newLowerBound; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__LOWER_BOUND, oldLowerBound, lowerBound)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setLowerBound(int newLowerBound) { int oldLowerBound = lowerBound; lowerBound = newLowerBound; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__LOWER_BOUND, oldLowerBound, lowerBound)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOrdered(boolean newOrdered) { boolean oldOrdered = (eFlags & ORDERED_EFLAG) != 0; if (newOrdered) eFlags |= ORDERED_EFLAG; else eFlags &= ~ORDERED_EFLAG; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__ORDERED, oldOrdered, newOrdered)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setOrdered(boolean newOrdered) { boolean oldOrdered = (eFlags & ORDERED_EFLAG) != 0; if (newOrdered) eFlags |= ORDERED_EFLAG; else eFlags &= ~ORDERED_EFLAG; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__ORDERED, oldOrdered, newOrdered)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setUnique(boolean newUnique) { boolean oldUnique = (eFlags & UNIQUE_EFLAG) != 0; if (newUnique) eFlags |= UNIQUE_EFLAG; else eFlags &= ~UNIQUE_EFLAG; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, EcorePackage.ETYPED_ELEMENT__UNIQUE, oldUnique, newUnique)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public EClassifier getEType() { if (!isFrozen() && eType != null && eType.eIsProxy()) { InternalEObject oldEType = (InternalEObject)eType; eType = (EClassifier)eResolveProxy(oldEType); if (eType != oldEType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, EcorePackage.ETYPED_ELEMENT__ETYPE, oldEType, eType)); } } return eType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated NOT */ public EClassifier getEType() { if (!isFrozen() && eType != null && eType.eIsProxy()) { InternalEObject oldEType = (InternalEObject)eType; eType = (EClassifier)eResolveProxy(oldEType); if (eType != oldEType) { if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.RESOLVE, EcorePackage.ETYPED_ELEMENT__ETYPE, oldEType, eType)); } } return eType; }