Instructions are attached. They should be everything that is needed. If there any questions please do not hesitate to ask.
Assignment: In this assignment you will use the class diagram from the previous assignment. First
incorporate changes recommended from the previous assignment’s feedback. Create an exception(s) as
needed according to the requirements and include the exception(s) in the class diagram.
public Vector
public tripOrganizer
public Date
TripOrganizer will be the user interface (UI).
It will be described more in the other areas
of the design. This is just a place holder.
public float
Vector is a Java
object. I needed
this so it would
appear in the
drop-down box
for method return
types.
public RuntimeException Existing Java class
but here to show
inheritance
public person
public String name
public trip
private Vector reservations
public person organizer
public String theme
public SameAirportException
public String airport
public Integer add Hotel Reservation()
public Integer add RentalCarReservation()
public Integer addAirplaneReservation()
public void edithotelReservation()
public void editRentalCarReservation()
public void deleteReservation()
public void saveToFile()
public trip()
public void calculatePrice()
public SameAirportException(String airport)
public String toString()
public hotel Reservation
public address address
public String room Type
public reservation
public String confirmation Number
public String contract Phone Number
public rentalCarReservation
public String make
public String model
public Date scheduled PickUp
public Date scheduled DropOff
public Date actualPickUp
public Date actualDropOff
public float window
public void convertToString()
public hotel Reservation()
public void calculatePrice()
public airplaneReservation
public String sourceAirport
public String destination Airport
public void convertToString()
public rentalCarReservation()
public address
public String street
public String city
public String state
public String zip
public void calculateDistance()
public void convertToString()
public airplaneReservation()