/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @SuppressWarnings("unchecked") @Override public void eSet(int featureID, Object newValue) { switch (featureID) { case QVTimperativePackage.MAPPING__GUARD_PATTERN: setGuardPattern((GuardPattern) newValue); return; case QVTimperativePackage.MAPPING__BOTTOM_PATTERN: setBottomPattern((BottomPattern) newValue); return; case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES: getCheckedProperties().clear(); getCheckedProperties().addAll((Collection<? extends Property>) newValue); return; case QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES: getEnforcedProperties().clear(); getEnforcedProperties().addAll((Collection<? extends Property>) newValue); return; case QVTimperativePackage.MAPPING__MAPPING_STATEMENT: setMappingStatement((MappingStatement) newValue); return; case QVTimperativePackage.MAPPING__POLLED_CLASSES: getPolledClasses().clear(); getPolledClasses().addAll((Collection<? extends org.eclipse.ocl.pivot.Class>) newValue); return; } super.eSet(featureID, newValue); }
/** * * <!-- begin-user-doc --> * <!-- end-user-doc --> * * @generated */ @Override public void eUnset(int featureID) { switch (featureID) { case QVTimperativePackage.MAPPING__GUARD_PATTERN: setGuardPattern((GuardPattern) null); return; case QVTimperativePackage.MAPPING__BOTTOM_PATTERN: setBottomPattern((BottomPattern) null); return; case QVTimperativePackage.MAPPING__CHECKED_PROPERTIES: getCheckedProperties().clear(); return; case QVTimperativePackage.MAPPING__ENFORCED_PROPERTIES: getEnforcedProperties().clear(); return; case QVTimperativePackage.MAPPING__MAPPING_STATEMENT: setMappingStatement((MappingStatement) null); return; case QVTimperativePackage.MAPPING__POLLED_CLASSES: getPolledClasses().clear(); return; } super.eUnset(featureID); }