Printer Version Table of Contents Project Home Page
.CLASS.......: Reservation
.OBJECT_TYPE.: RELATIONSHIP model process
.CHAR_30_NAME: Reservtn
.PLATFORMS...: SYBASE
.DESCRIPTION.:
A reservation is a request by a member that the next available COPY of a given ITEM be held for him, so that he may check it out.

.COMPOSITION.:
reservation_id &reservation_id
; [endpk]
item_id &item_id
member_id &member_id
reservation_date &date


.PROCESS_DIAGRAM: (RESERVATION)
Refreshed from file: process\reservation-class.pdd
Diagram created 2001-03-24 at 11:32pm by Ferg_S

The lifecycle of a reservation for a particular item

           _____________
          |             |
          | Reservation |
          |_____________|
          _______|________
    ______|______  ______|______
   |             ||             |
   |    <make    || Reservation |
   |reservation> ||    life     |
   |_____________||_____________|
              ___________|____________
        ______|______          ______|______
       |            ?|        |            ?|
       |   Normal    |        |   Aborted   |
       |    life     |        |    life     |
       |_____________|        |_____________|
       _______|________              |
 ______|______  ______|______  ______|______
|            o||            o||             |
|  <satisfy   ||   <cancel   ||   <cancel   |
|reservation> ||reservation> ||reservation> |
|             ||    QUIT     ||             |
|_____________||_____________||_____________|

.PROCESS_EVENTS:
make_reservation
satisfy_reservation
cancel_reservation