/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case ModelmanagementPackage.PACKAGE__ASSOCIATIONS: getAssociations().clear(); getAssociations().addAll((Collection<? extends Association>) newValue); return; case ModelmanagementPackage.PACKAGE__CLASSES: getClasses().clear(); getClasses().addAll((Collection<? extends SapClass>) newValue); return; case ModelmanagementPackage.PACKAGE__PARAMETERIZED_CLASSES: getParameterizedClasses().clear(); getParameterizedClasses().addAll((Collection<? extends ClassParameterization>) newValue); return; case ModelmanagementPackage.PACKAGE__OWNER: setOwner((PackageOwner) newValue); return; case ModelmanagementPackage.PACKAGE__CONFIGURABILITY: getConfigurability().clear(); getConfigurability().addAll((Collection<? extends ConfigurationEntity>) newValue); return; case ModelmanagementPackage.PACKAGE__BINDINGS: getBindings().clear(); getBindings().addAll((Collection<? extends Binding>) newValue); return; } super.eSet(featureID, newValue); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case ModelmanagementPackage.PACKAGE__ASSOCIATIONS: getAssociations().clear(); return; case ModelmanagementPackage.PACKAGE__CLASSES: getClasses().clear(); return; case ModelmanagementPackage.PACKAGE__PARAMETERIZED_CLASSES: getParameterizedClasses().clear(); return; case ModelmanagementPackage.PACKAGE__OWNER: setOwner((PackageOwner) null); return; case ModelmanagementPackage.PACKAGE__CONFIGURABILITY: getConfigurability().clear(); return; case ModelmanagementPackage.PACKAGE__BINDINGS: getBindings().clear(); return; } super.eUnset(featureID); }