Exemplo n.º 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case SmlPackage.NODE__SOURCE_RELATION:
       getSourceRelation().clear();
       return;
     case SmlPackage.NODE__TARGET_RELATION:
       getTargetRelation().clear();
       return;
   }
   super.eUnset(featureID);
 }
Exemplo n.º 2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case SmlPackage.NODE__SOURCE_RELATION:
       getSourceRelation().clear();
       getSourceRelation().addAll((Collection<? extends ComparativeRelation>) newValue);
       return;
     case SmlPackage.NODE__TARGET_RELATION:
       getTargetRelation().clear();
       getTargetRelation().addAll((Collection<? extends ComparativeRelation>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }