* <!-- end-user-doc -->
* @generated
*/
public void setDriveMode(DCDriveMode newDriveMode)
{
DCDriveMode oldDriveMode = driveMode;
driveMode = newDriveMode == null ? DRIVE_MODE_EDEFAULT : newDriveMode;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ModelPackage.MBRICK_DC__DRIVE_MODE, oldDriveMode, driveMode));
}