Suggested solutions to e-car rental system

480 palavras 2 páginas
Suggested solutions to E-Car Rental System
May 7, 2009
See the website for a description of the problem. Note that these diagrams are suggested solutions. There are may valid ways to model most problems.
Marks will be given for a reasonable model provided that the UML diagrams are correct.
Fig1 shows a use case model for the e-car rental system. Note the use of the
> and > relationships in the use case diagram.
There is a general use case called Return a Vehicle. When the vehicle is returned by the user the functionality provided by the billing use case is included is also executed. Note that a customer may return a vehicle earlier or later than agreed. The use case diagram shows that in the event of an Early Return or a Late Return, the basic Return a Vehicle use case is invoked. However its functionality is extended to allow a fine to be charged or perhaps a discount to be applied on early return.
A sequence diagram is shown in Fig.2. This sequence diagram matches the reserve a Vehicle Use Case specified in the LabWork handout(available on the course website).
A class diagram for the E-Car Rental system is shown in Fig.3. Note the reserves association between the Customer and Vehicle classes, i.e a Customer reserves a Vehicle. This is an important or interesting relationship and we can model this relationship using an association class. This association class is the
Reservation class which, as shown in Fig.3 contains zero or more insurance or protection plan products. Note the dashed line between the Reservation class and the reserves association connecting the Customer and Vehicle classes. the dashed line indicates that the Reservation class provides the functionality required when a customer makes a vehicle reservation.

1

Reserve a vehicle

Cancel a reservation

Billing

Pick up a vehicle

Administrator

customer

Add new car

View car catalogue

Remove car
Return a vehicle

Early return

View rental

Relacionados

  • Nist
    36699 palavras | 147 páginas
  • Alianças estratégicas
    21464 palavras | 86 páginas
  • Livro matemática aplicada
    322648 palavras | 1291 páginas
  • Practical access to service design
    47354 palavras | 190 páginas
  • Mba compacto
    115644 palavras | 463 páginas
  • Home businesses
    94383 palavras | 378 páginas
  • Marcas
    34619 palavras | 139 páginas
  • Motivacional
    9469 palavras | 38 páginas
  • Gorchels traduzido (google translate)
    76021 palavras | 305 páginas
  • Vida
    19020 palavras | 77 páginas