/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case Seff_pcPackage .RESOURCE_DEMANDING_BEHAVIOUR__ABSTRACT_LOOP_ACTION_RESOURCE_DEMANDING_BEHAVIOUR: setAbstractLoopAction_ResourceDemandingBehaviour((AbstractLoopAction) null); return; case Seff_pcPackage .RESOURCE_DEMANDING_BEHAVIOUR__ABSTRACT_BRANCH_TRANSITION_RESOURCE_DEMANDING_BEHAVIOUR: setAbstractBranchTransition_ResourceDemandingBehaviour((AbstractBranchTransition) null); return; case Seff_pcPackage.RESOURCE_DEMANDING_BEHAVIOUR__STEPS_BEHAVIOUR: getSteps_Behaviour().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 Seff_pcPackage .RESOURCE_DEMANDING_BEHAVIOUR__ABSTRACT_LOOP_ACTION_RESOURCE_DEMANDING_BEHAVIOUR: setAbstractLoopAction_ResourceDemandingBehaviour((AbstractLoopAction) newValue); return; case Seff_pcPackage .RESOURCE_DEMANDING_BEHAVIOUR__ABSTRACT_BRANCH_TRANSITION_RESOURCE_DEMANDING_BEHAVIOUR: setAbstractBranchTransition_ResourceDemandingBehaviour((AbstractBranchTransition) newValue); return; case Seff_pcPackage.RESOURCE_DEMANDING_BEHAVIOUR__STEPS_BEHAVIOUR: getSteps_Behaviour().clear(); getSteps_Behaviour().addAll((Collection<? extends AbstractAction>) newValue); return; } super.eSet(featureID, newValue); }