コード例 #1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case StoriesPackage.NODE__PERFORMED:
       getPerformed().clear();
       return;
     case StoriesPackage.NODE__INSTANCE_OF:
       getInstance_of().clear();
       return;
     case StoriesPackage.NODE__STATES:
       getStates().clear();
       return;
     case StoriesPackage.NODE__NOT_INSTANCE_OF:
       getNot_instance_of().clear();
       return;
   }
   super.eUnset(featureID);
 }
コード例 #2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case StoriesPackage.NODE__PERFORMED:
       getPerformed().clear();
       getPerformed().addAll((Collection<? extends Action>) newValue);
       return;
     case StoriesPackage.NODE__INSTANCE_OF:
       getInstance_of().clear();
       getInstance_of().addAll((Collection<? extends RefOntoUML.Class>) newValue);
       return;
     case StoriesPackage.NODE__STATES:
       getStates().clear();
       getStates().addAll((Collection<? extends Node_state>) newValue);
       return;
     case StoriesPackage.NODE__NOT_INSTANCE_OF:
       getNot_instance_of().clear();
       getNot_instance_of().addAll((Collection<? extends RefOntoUML.Class>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }