/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case SimpleoclPackage.OCL_FEATURE_DEFINITION__FEATURE: setFeature((OclFeature) null); return; case SimpleoclPackage.OCL_FEATURE_DEFINITION__CONTEXT_: setContext_((OclContextDefinition) null); return; case SimpleoclPackage.OCL_FEATURE_DEFINITION__STATIC: setStatic(STATIC_EDEFAULT); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case SimpleoclPackage.OCL_FEATURE_DEFINITION__FEATURE: setFeature((OclFeature) newValue); return; case SimpleoclPackage.OCL_FEATURE_DEFINITION__CONTEXT_: setContext_((OclContextDefinition) newValue); return; case SimpleoclPackage.OCL_FEATURE_DEFINITION__STATIC: setStatic((Boolean) newValue); return; } super.eSet(featureID, newValue); }