/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case UmlPackage.PROTOCOL_CONFORMANCE__GROUP3: getGroup3().clear(); return; case UmlPackage.PROTOCOL_CONFORMANCE__GENERAL_MACHINE: getGeneralMachine().clear(); return; case UmlPackage.PROTOCOL_CONFORMANCE__GENERAL_MACHINE1: setGeneralMachine1(GENERAL_MACHINE1_EDEFAULT); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case UmlPackage.PROTOCOL_CONFORMANCE__GROUP3: ((FeatureMap.Internal) getGroup3()).set(newValue); return; case UmlPackage.PROTOCOL_CONFORMANCE__GENERAL_MACHINE: getGeneralMachine().clear(); getGeneralMachine().addAll((Collection<? extends ProtocolStateMachine>) newValue); return; case UmlPackage.PROTOCOL_CONFORMANCE__GENERAL_MACHINE1: setGeneralMachine1((String) newValue); return; } super.eSet(featureID, newValue); }