/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setStart(Parameter newStart) { if (newStart != start) { NotificationChain msgs = null; if (start != null) msgs = ((InternalEObject)start).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__START, null, msgs); if (newStart != null) msgs = ((InternalEObject)newStart).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__START, null, msgs); msgs = basicSetStart(newStart, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__START, newStart, newStart)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setSelection(Parameter newSelection) { if (newSelection != selection) { NotificationChain msgs = null; if (selection != null) msgs = ((InternalEObject)selection).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__SELECTION, null, msgs); if (newSelection != null) msgs = ((InternalEObject)newSelection).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__SELECTION, null, msgs); msgs = basicSetSelection(newSelection, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__SELECTION, newSelection, newSelection)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setReworkTime(Parameter newReworkTime) { if (newReworkTime != reworkTime) { NotificationChain msgs = null; if (reworkTime != null) msgs = ((InternalEObject)reworkTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__REWORK_TIME, null, msgs); if (newReworkTime != null) msgs = ((InternalEObject)newReworkTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__REWORK_TIME, null, msgs); msgs = basicSetReworkTime(newReworkTime, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__REWORK_TIME, newReworkTime, newReworkTime)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setPriorityParameters(PriorityParameters newPriorityParameters) { if (newPriorityParameters != priorityParameters) { NotificationChain msgs = null; if (priorityParameters != null) msgs = ((InternalEObject)priorityParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS, null, msgs); if (newPriorityParameters != null) msgs = ((InternalEObject)newPriorityParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS, null, msgs); msgs = basicSetPriorityParameters(newPriorityParameters, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__PRIORITY_PARAMETERS, newPriorityParameters, newPriorityParameters)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setInterTriggerTimer(Parameter newInterTriggerTimer) { if (newInterTriggerTimer != interTriggerTimer) { NotificationChain msgs = null; if (interTriggerTimer != null) msgs = ((InternalEObject)interTriggerTimer).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, null, msgs); if (newInterTriggerTimer != null) msgs = ((InternalEObject)newInterTriggerTimer).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, null, msgs); msgs = basicSetInterTriggerTimer(newInterTriggerTimer, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.CONTROL_PARAMETERS__INTER_TRIGGER_TIMER, newInterTriggerTimer, newInterTriggerTimer)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setUnitCost(Parameter newUnitCost) { if (newUnitCost != unitCost) { NotificationChain msgs = null; if (unitCost != null) msgs = ((InternalEObject)unitCost).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.COST_PARAMETERS__UNIT_COST, null, msgs); if (newUnitCost != null) msgs = ((InternalEObject)newUnitCost).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.COST_PARAMETERS__UNIT_COST, null, msgs); msgs = basicSetUnitCost(newUnitCost, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.COST_PARAMETERS__UNIT_COST, newUnitCost, newUnitCost)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setDuration(Parameter newDuration) { if (newDuration != duration) { NotificationChain msgs = null; if (duration != null) msgs = ((InternalEObject)duration).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__DURATION, null, msgs); if (newDuration != null) msgs = ((InternalEObject)newDuration).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__DURATION, null, msgs); msgs = basicSetDuration(newDuration, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__DURATION, newDuration, newDuration)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setQuantity(Parameter newQuantity) { if (newQuantity != quantity) { NotificationChain msgs = null; if (quantity != null) msgs = ((InternalEObject)quantity).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__QUANTITY, null, msgs); if (newQuantity != null) msgs = ((InternalEObject)newQuantity).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__QUANTITY, null, msgs); msgs = basicSetQuantity(newQuantity, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__QUANTITY, newQuantity, newQuantity)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setQueueTime(Parameter newQueueTime) { if (newQueueTime != queueTime) { NotificationChain msgs = null; if (queueTime != null) msgs = ((InternalEObject)queueTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, null, msgs); if (newQueueTime != null) msgs = ((InternalEObject)newQueueTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, null, msgs); msgs = basicSetQueueTime(newQueueTime, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__QUEUE_TIME, newQueueTime, newQueueTime)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setProcessingTime(Parameter newProcessingTime) { if (newProcessingTime != processingTime) { NotificationChain msgs = null; if (processingTime != null) msgs = ((InternalEObject)processingTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, null, msgs); if (newProcessingTime != null) msgs = ((InternalEObject)newProcessingTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, null, msgs); msgs = basicSetProcessingTime(newProcessingTime, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__PROCESSING_TIME, newProcessingTime, newProcessingTime)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setControlParameters(ControlParameters newControlParameters) { if (newControlParameters != controlParameters) { NotificationChain msgs = null; if (controlParameters != null) msgs = ((InternalEObject)controlParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS, null, msgs); if (newControlParameters != null) msgs = ((InternalEObject)newControlParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS, null, msgs); msgs = basicSetControlParameters(newControlParameters, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__CONTROL_PARAMETERS, newControlParameters, newControlParameters)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setPropertyParameters(PropertyParameters newPropertyParameters) { if (newPropertyParameters != propertyParameters) { NotificationChain msgs = null; if (propertyParameters != null) msgs = ((InternalEObject)propertyParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); if (newPropertyParameters != null) msgs = ((InternalEObject)newPropertyParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); msgs = basicSetPropertyParameters(newPropertyParameters, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__PROPERTY_PARAMETERS, newPropertyParameters, newPropertyParameters)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setScenarioParameters(ScenarioParameters newScenarioParameters) { if (newScenarioParameters != scenarioParameters) { NotificationChain msgs = null; if (scenarioParameters != null) msgs = ((InternalEObject)scenarioParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO__SCENARIO_PARAMETERS, null, msgs); if (newScenarioParameters != null) msgs = ((InternalEObject)newScenarioParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO__SCENARIO_PARAMETERS, null, msgs); msgs = basicSetScenarioParameters(newScenarioParameters, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO__SCENARIO_PARAMETERS, newScenarioParameters, newScenarioParameters)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setPropertyParameters(PropertyParameters newPropertyParameters) { if (newPropertyParameters != propertyParameters) { NotificationChain msgs = null; if (propertyParameters != null) msgs = ((InternalEObject)propertyParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); if (newPropertyParameters != null) msgs = ((InternalEObject)newPropertyParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS, null, msgs); msgs = basicSetPropertyParameters(newPropertyParameters, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.SCENARIO_PARAMETERS__PROPERTY_PARAMETERS, newPropertyParameters, newPropertyParameters)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setAvailability(Parameter newAvailability) { if (newAvailability != availability) { NotificationChain msgs = null; if (availability != null) msgs = ((InternalEObject)availability).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, null, msgs); if (newAvailability != null) msgs = ((InternalEObject)newAvailability).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, null, msgs); msgs = basicSetAvailability(newAvailability, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.RESOURCE_PARAMETERS__AVAILABILITY, newAvailability, newAvailability)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setTransferTime(Parameter newTransferTime) { if (newTransferTime != transferTime) { NotificationChain msgs = null; if (transferTime != null) msgs = ((InternalEObject)transferTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME, null, msgs); if (newTransferTime != null) msgs = ((InternalEObject)newTransferTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME, null, msgs); msgs = basicSetTransferTime(newTransferTime, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__TRANSFER_TIME, newTransferTime, newTransferTime)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setSetUpTime(Parameter newSetUpTime) { if (newSetUpTime != setUpTime) { NotificationChain msgs = null; if (setUpTime != null) msgs = ((InternalEObject)setUpTime).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__SET_UP_TIME, null, msgs); if (newSetUpTime != null) msgs = ((InternalEObject)newSetUpTime).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.TIME_PARAMETERS__SET_UP_TIME, null, msgs); msgs = basicSetSetUpTime(newSetUpTime, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.TIME_PARAMETERS__SET_UP_TIME, newSetUpTime, newSetUpTime)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setInterruptible(Parameter newInterruptible) { if (newInterruptible != interruptible) { NotificationChain msgs = null; if (interruptible != null) msgs = ((InternalEObject)interruptible).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, null, msgs); if (newInterruptible != null) msgs = ((InternalEObject)newInterruptible).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, null, msgs); msgs = basicSetInterruptible(newInterruptible, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__INTERRUPTIBLE, newInterruptible, newInterruptible)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setPriority(Parameter newPriority) { if (newPriority != priority) { NotificationChain msgs = null; if (priority != null) msgs = ((InternalEObject)priority).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, null, msgs); if (newPriority != null) msgs = ((InternalEObject)newPriority).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, null, msgs); msgs = basicSetPriority(newPriority, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.PRIORITY_PARAMETERS__PRIORITY, newPriority, newPriority)); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setTimeParameters(TimeParameters newTimeParameters) { if (newTimeParameters != timeParameters) { NotificationChain msgs = null; if (timeParameters != null) msgs = ((InternalEObject)timeParameters).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS, null, msgs); if (newTimeParameters != null) msgs = ((InternalEObject)newTimeParameters).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS, null, msgs); msgs = basicSetTimeParameters(newTimeParameters, msgs); if (msgs != null) msgs.dispatch(); } else if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BpsimPackage.ELEMENT_PARAMETERS__TIME_PARAMETERS, newTimeParameters, newTimeParameters)); }