Exemplo n.º 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case CorePackage.ACTOR__IMAGES:
       getImages().clear();
       return;
     case CorePackage.ACTOR__INTERACTIONS:
       getInteractions().clear();
       return;
     case CorePackage.ACTOR__ADDRESS:
       setAddress(ADDRESS_EDEFAULT);
       return;
     case CorePackage.ACTOR__EMAIL:
       setEmail(EMAIL_EDEFAULT);
       return;
     case CorePackage.ACTOR__PHONE_NUMBER:
       setPhoneNumber(PHONE_NUMBER_EDEFAULT);
       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 CorePackage.ACTOR__IMAGES:
       getImages().clear();
       getImages().addAll((Collection<? extends EObject>) newValue);
       return;
     case CorePackage.ACTOR__INTERACTIONS:
       getInteractions().clear();
       getInteractions().addAll((Collection<? extends Interaction>) newValue);
       return;
     case CorePackage.ACTOR__ADDRESS:
       setAddress((String) newValue);
       return;
     case CorePackage.ACTOR__EMAIL:
       setEmail((String) newValue);
       return;
     case CorePackage.ACTOR__PHONE_NUMBER:
       setPhoneNumber((String) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }