* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setCarType(CarBrand newCarType) {
CarBrand oldCarType = carType;
carType = newCarType == null ? CAR_TYPE_EDEFAULT : newCarType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ReservationSystemPackagePackage.CAR_RESERVATION__CAR_TYPE, oldCarType, carType));
}