* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setType(RoomType newType) {
RoomType oldType = type;
type = newType == null ? TYPE_EDEFAULT : newType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ReservationSystemPackagePackage.ROOM_RESERVATION__TYPE, oldType, type));
}