/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public void setName(String newName) { String oldName = name; if (!isReconciling) { ReconciliationHelper.replaceAttribute(this, BPELConstants.AT_NAME, newName); } name = newName; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, BPELPackage.LINK__NAME, oldName, name)); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public void setValue(String newValue) { String oldValue = value; if (!isReconciling) { ReconciliationHelper.replaceText(this, newValue); } value = newValue; if (eNotificationRequired()) eNotify( new ENotificationImpl(this, Notification.SET, BPELPackage.QUERY__VALUE, oldValue, value)); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ public void setId(String newId) { String oldId = id; if (!isReconciling) { ReconciliationHelper.replaceAttribute( this, ModelPackage.eINSTANCE.getUserRole_Id().getName(), newId); } id = newId; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.USER_ROLE__ID, oldId, id)); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public NotificationChain basicSetFrom(From newFrom, NotificationChain msgs) { From oldFrom = from; if (!isReconciling) { ReconciliationHelper.replaceChild(this, oldFrom, newFrom); } from = newFrom; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.COPY__FROM, oldFrom, newFrom); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public NotificationChain basicSetTo(To newTo, NotificationChain msgs) { To oldTo = to; if (!isReconciling) { ReconciliationHelper.replaceChild(this, oldTo, newTo); } to = newTo; if (eNotificationRequired()) { ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, BPELPackage.COPY__TO, oldTo, newTo); if (msgs == null) msgs = notification; else msgs.add(notification); } return msgs; }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public void setQueryLanguage(String newQueryLanguage) { String oldQueryLanguage = queryLanguage; if (!isReconciling) { ReconciliationHelper.replaceAttribute(this, BPELConstants.AT_QUERYLANGUAGE, newQueryLanguage); } queryLanguage = newQueryLanguage; if (eNotificationRequired()) eNotify( new ENotificationImpl( this, Notification.SET, BPELPackage.QUERY__QUERY_LANGUAGE, oldQueryLanguage, queryLanguage)); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public void unsetIgnoreMissingFromData() { Boolean oldIgnoreMissingFromData = ignoreMissingFromData; if (!isReconciling) { ReconciliationHelper.replaceAttribute( this, BPELConstants.AT_IGNORE_MISSING_FROM_DATA, (String) null); } boolean oldIgnoreMissingFromDataESet = ignoreMissingFromDataESet; ignoreMissingFromData = IGNORE_MISSING_FROM_DATA_EDEFAULT; ignoreMissingFromDataESet = false; if (eNotificationRequired()) eNotify( new ENotificationImpl( this, Notification.UNSET, BPELPackage.COPY__IGNORE_MISSING_FROM_DATA, oldIgnoreMissingFromData, IGNORE_MISSING_FROM_DATA_EDEFAULT, oldIgnoreMissingFromDataESet)); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public void unsetKeepSrcElementName() { Boolean oldKeepSrcElementName = keepSrcElementName; if (!isReconciling) { ReconciliationHelper.replaceAttribute( this, BPELConstants.AT_KEEP_SRC_ELEMENT_NAME, (String) null); } boolean oldKeepSrcElementNameESet = keepSrcElementNameESet; keepSrcElementName = KEEP_SRC_ELEMENT_NAME_EDEFAULT; keepSrcElementNameESet = false; if (eNotificationRequired()) eNotify( new ENotificationImpl( this, Notification.UNSET, BPELPackage.COPY__KEEP_SRC_ELEMENT_NAME, oldKeepSrcElementName, KEEP_SRC_ELEMENT_NAME_EDEFAULT, oldKeepSrcElementNameESet)); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public void setIgnoreMissingFromData(Boolean newIgnoreMissingFromData) { Boolean oldIgnoreMissingFromData = ignoreMissingFromData; if (!isReconciling) { ReconciliationHelper.replaceAttribute( this, BPELConstants.AT_IGNORE_MISSING_FROM_DATA, BPELUtils.boolean2XML(newIgnoreMissingFromData)); } ignoreMissingFromData = newIgnoreMissingFromData; boolean oldIgnoreMissingFromDataESet = ignoreMissingFromDataESet; ignoreMissingFromDataESet = true; if (eNotificationRequired()) eNotify( new ENotificationImpl( this, Notification.SET, BPELPackage.COPY__IGNORE_MISSING_FROM_DATA, oldIgnoreMissingFromData, ignoreMissingFromData, !oldIgnoreMissingFromDataESet)); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> */ public void setKeepSrcElementName(Boolean newKeepSrcElementName) { Boolean oldKeepSrcElementName = keepSrcElementName; if (!isReconciling) { ReconciliationHelper.replaceAttribute( this, BPELConstants.AT_KEEP_SRC_ELEMENT_NAME, BPELUtils.boolean2XML(newKeepSrcElementName)); } keepSrcElementName = newKeepSrcElementName; boolean oldKeepSrcElementNameESet = keepSrcElementNameESet; keepSrcElementNameESet = true; if (eNotificationRequired()) eNotify( new ENotificationImpl( this, Notification.SET, BPELPackage.COPY__KEEP_SRC_ELEMENT_NAME, oldKeepSrcElementName, keepSrcElementName, !oldKeepSrcElementNameESet)); }
@Override protected void reconcile(Element changedElement) { ReconciliationHelper.getInstance().reconcile(this, changedElement); }