/**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case ProtocolPackage.MESSAGE__CODE:
       setCode(CODE_EDEFAULT);
       return;
     case ProtocolPackage.MESSAGE__PROTOCOL:
       setProtocol((Protocol) null);
       return;
     case ProtocolPackage.MESSAGE__INTERFACES:
       getInterfaces().clear();
       return;
   }
   super.eUnset(featureID);
 }
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case ProtocolPackage.MESSAGE__CODE:
       setCode((Integer) newValue);
       return;
     case ProtocolPackage.MESSAGE__PROTOCOL:
       setProtocol((Protocol) newValue);
       return;
     case ProtocolPackage.MESSAGE__INTERFACES:
       getInterfaces().clear();
       getInterfaces().addAll((Collection<? extends Interface>) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }