Esempio n. 1
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 2
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 3
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 4
0
 /**
  *
  * <!-- 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;
 }
Esempio n. 5
0
 /**
  *
  * <!-- 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;
 }
Esempio n. 6
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 7
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 8
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 9
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 10
0
 /**
  *
  * <!-- 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));
 }
Esempio n. 11
0
 @Override
 protected void reconcile(Element changedElement) {
   ReconciliationHelper.getInstance().reconcile(this, changedElement);
 }