Question: Give me a Java code for this ULM: UML***** Customer - NationallD: Int - FirstName: int - LastName: int - Email: string - Phone Number:

Give me a Java code for this ULM:

Give me a Java code for this ULM: UML***** Customer - NationallD:

UML*****

Customer - NationallD: Int - FirstName: int - LastName: int - Email: string - Phone Number: long - Address: string Reservation ArrayList - Reservation Room Date BuildingNumber, int - FloorNumber, int RoomNumber: int NumOfGuests: int NumOfNights: int -Room:room CheckinDate: Date Day: int Month: int Year, int + setNationallD(int) + getNational Doint + setFirstName(int) + gelFirstName(): int + setLastName(int) + setLastName(): int + setEmail(string) + setPhoneNumber(long) + setAddress(string) + AddCustomer(Customer) void + RemoveCustomer(Customer): void + getReservation(): ArrayList #printAll(Arraylist): vold + toString: string + setBuilding Number(int) + getBuildingNumber(); int + setFloorNumber(int) + getFloorNumber: int + setRoomNumber(int) + getRoomNumber(); int + toString(): string + setNumOfGuests(int) + getNumOfGuests(): int + setNumOfNights(int) +gelNumOiNights(): int + setRoom(room) + getRoom(): room + setCheckinDate(Date) +getCheckinDate(): Date + toString: string + setDay(int) + getDay(): int + setMonth(int) + getMonth(): int + setYear(int) + getYear(); int + toString(): string Extends Extends Extends Deluxe Room SuiteRoom Economy Room CostPerNight double - NumOfGuests: int - NumOf Nights: int - CostPerNight: double - ServicesCost double - NumOTGuests: int - NumOfNights: int + setCosterNight(double) +gelCostPerlight double + setNumOrGuests(int) + getNumOfGuests(): int + setNumOlNights(int) + gelNumOfNights(): int getTotal(): double +toString(): string + setCostPer Night(double) + getCostPerNight double + selServices Cost(double) +gelServices Cost(): double + setNumOfGuests(int) + getNumOfGuests(): int + setNumOfNights(int) + getNurOfNights(): int getTotal(): double + toString(): string CostPerNight: double - Services Cost: double - JacuzziCost: int - NumOrGuests: int - NumOfNights: int + setCosterNight(double) +getCostPerNight: double + setServices Cost[double) + gelServices Cost(): double + setjacuzziCost(int) + getJacuzziCost(): int + setNumOfGuests(int) +gelNumOiGuests(); int + setNumOiNights(int) + getNumOfNights(): int + getTotal(): double +toString(: string

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!