Specification of a Video Rental Store Point of Sale System

Domain Description

A video rental stores has an inventory of recordings. Recordings can be rented and returned to the inventory. The inventory can be searched by film titles. The entire inventory can be printed, too. Each recording has a unique id number and a rental history that tells which customer rented it and for which period. Recordings include DVDs and video tapes. Every recording is a recording of some film. Comedies, Dramas, Romances, Science Fiction, and Thrillers are types of films. A film has a title, a short description, a director, and a rating (excellent, good, fair, bad) and a cast of characters. A character has a name and an actor who plays the character. Actors, directors, and customers are persons. A person has a name. Customers also have an ID number, a telephone number, and a rental history.

Trilogy Video Rentals is highly specialized. They have 3 recordings of The Matrix (1 tape and 2 DVDs), 2 recordings of The Matrix Reloaded (1 tape and 1 DVD), and 1 DVD of Matrix Revolutions.

Domain Model

We divide our models into four packages. The general domain model consists of two packages: videoRental and film. The concepts modeled in this package might be applicable to any video rental business. These models are class diagrams.

The specific domain model is contained in the packages trilogy and matrices. These are object diagrams that instantiate the class diagrams in the general domain model. These models are specific to the Trilogy Video Rentals.

The film Package

The videoRental Package

The trilogy Package

The matrices Package

This package consists of three object diagrams, one for each film. Note that the same object may appear in multiple packages and diagrams.

The Matrix

The Matrix Reloaded

Matrix Revolutions