/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case NcpolicyPackage.NEW_CHILD_POLICY_SET__NAME: setName(NAME_EDEFAULT); return; case NcpolicyPackage.NEW_CHILD_POLICY_SET__POLICIES: getPolicies().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 NcpolicyPackage.NEW_CHILD_POLICY_SET__NAME: setName((String) newValue); return; case NcpolicyPackage.NEW_CHILD_POLICY_SET__POLICIES: getPolicies().clear(); getPolicies().addAll((Collection<? extends NewChildPolicy>) newValue); return; } super.eSet(featureID, newValue); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ContextsPackage.SECTION__NAME: setName(NAME_EDEFAULT); return; case ContextsPackage.SECTION__TAB: setTab((Tab) null); return; case ContextsPackage.SECTION__SECTION_FILE: setSectionFile(SECTION_FILE_EDEFAULT); return; case ContextsPackage.SECTION__WIDGET: setWidget((CompositeWidget) null); return; } super.eUnset(featureID); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ContextsPackage.SECTION__NAME: setName((String) newValue); return; case ContextsPackage.SECTION__TAB: setTab((Tab) newValue); return; case ContextsPackage.SECTION__SECTION_FILE: setSectionFile((String) newValue); return; case ContextsPackage.SECTION__WIDGET: setWidget((CompositeWidget) newValue); return; } super.eSet(featureID, newValue); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ContextsPackage.VIEW__NAME: setName(NAME_EDEFAULT); return; case ContextsPackage.VIEW__SECTIONS: getSections().clear(); return; case ContextsPackage.VIEW__CONTEXT: setContext((Context) null); return; case ContextsPackage.VIEW__AUTOMATIC_CONTEXT: setAutomaticContext(AUTOMATIC_CONTEXT_EDEFAULT); return; case ContextsPackage.VIEW__DATACONTEXTS: getDatacontexts().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 ContextsPackage.VIEW__NAME: setName((String) newValue); return; case ContextsPackage.VIEW__SECTIONS: getSections().clear(); getSections().addAll((Collection<? extends Section>) newValue); return; case ContextsPackage.VIEW__CONTEXT: setContext((Context) newValue); return; case ContextsPackage.VIEW__AUTOMATIC_CONTEXT: setAutomaticContext((Boolean) newValue); return; case ContextsPackage.VIEW__DATACONTEXTS: getDatacontexts().clear(); getDatacontexts().addAll((Collection<? extends DataContextElement>) newValue); return; } super.eSet(featureID, newValue); }