Esempio n. 1
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @SuppressWarnings("unchecked")
 @Override
 public void eSet(int featureID, Object newValue) {
   switch (featureID) {
     case CDAPackage.RELATED_ENTITY__REALM_CODE:
       getRealmCodes().clear();
       getRealmCodes().addAll((Collection<? extends CS>) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__TYPE_ID:
       setTypeId((InfrastructureRootTypeId) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__TEMPLATE_ID:
       getTemplateIds().clear();
       getTemplateIds().addAll((Collection<? extends II>) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__CODE:
       setCode((CE) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__ADDR:
       getAddrs().clear();
       getAddrs().addAll((Collection<? extends AD>) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__TELECOM:
       getTelecoms().clear();
       getTelecoms().addAll((Collection<? extends TEL>) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__EFFECTIVE_TIME:
       setEffectiveTime((IVL_TS) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__RELATED_PERSON:
       setRelatedPerson((Person) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__SDTC_PATIENT:
       setSDTCPatient((SDTCPatient) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__NULL_FLAVOR:
       setNullFlavor((NullFlavor) newValue);
       return;
     case CDAPackage.RELATED_ENTITY__CLASS_CODE:
       setClassCode((RoleClassMutualRelationship) newValue);
       return;
   }
   super.eSet(featureID, newValue);
 }
Esempio n. 2
0
 /**
  *
  * <!-- begin-user-doc -->
  * <!-- end-user-doc -->
  *
  * @generated
  */
 @Override
 public void eUnset(int featureID) {
   switch (featureID) {
     case CDAPackage.RELATED_ENTITY__REALM_CODE:
       getRealmCodes().clear();
       return;
     case CDAPackage.RELATED_ENTITY__TYPE_ID:
       setTypeId((InfrastructureRootTypeId) null);
       return;
     case CDAPackage.RELATED_ENTITY__TEMPLATE_ID:
       getTemplateIds().clear();
       return;
     case CDAPackage.RELATED_ENTITY__CODE:
       setCode((CE) null);
       return;
     case CDAPackage.RELATED_ENTITY__ADDR:
       getAddrs().clear();
       return;
     case CDAPackage.RELATED_ENTITY__TELECOM:
       getTelecoms().clear();
       return;
     case CDAPackage.RELATED_ENTITY__EFFECTIVE_TIME:
       setEffectiveTime((IVL_TS) null);
       return;
     case CDAPackage.RELATED_ENTITY__RELATED_PERSON:
       setRelatedPerson((Person) null);
       return;
     case CDAPackage.RELATED_ENTITY__SDTC_PATIENT:
       setSDTCPatient((SDTCPatient) null);
       return;
     case CDAPackage.RELATED_ENTITY__NULL_FLAVOR:
       unsetNullFlavor();
       return;
     case CDAPackage.RELATED_ENTITY__CLASS_CODE:
       unsetClassCode();
       return;
   }
   super.eUnset(featureID);
 }