Exemple #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case HLPNPackage.NODE__NET:
       setNet((HighLevelPetriNet) null);
       return;
   }
   super.eUnset(featureID);
 }
Exemple #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case MarkingPackage.MARKING__MAP:
       getMap().clear();
       return;
   }
   super.eUnset(featureID);
 }
Exemple #3
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case HLPNPackage.NODE__NET:
       setNet((HighLevelPetriNet) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Exemple #4
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case MarkingPackage.MARKING__MAP:
       getMap().clear();
       getMap().addAll((Collection<? extends PlaceMarking>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }