Course Registration System Use-Case Specification Maintain Professor Information Use Case Version 2.0 Revision History
Date | Version | Description | Author
--- | --- | --- | ---
21/Dec/98 | Draft | Draft version. | S. Gamble
13/Feb/99 | Version 1.0 | Minor corrections based on review | S. Gamble
15/Feb/99 | Version 2.0 | Modify section on use case extends. Final cleanup. Review alternate flows. Resolve outstanding issues. | S. Gamble
Table of Contents Brief Description Flow of Events 2.1 Basic Flow - Add a Professor 2.2 Alternative Flows 2.2.1 Modify a Professor 2.2.2 Delete a Professor 2.2.3 Professor Already Exists 2.2.4 Professor Not Found Special Requirements Preconditions 4.1 Log In Postconditions Extension Points Maintain Professor Information Use Case Brief Description This use case allows the Registrar to maintain professor information in the registration system. This includes adding, modifying, and deleting professors from the system. The actor of this use case is the Registrar. 2. Flow of Events The use case begins when the Registrar selects the "maintain professor" activity from the Main Form. 2.1 Basic Flow - Add a Professor The Registrar selects "add a professor." The system displays a blank professor form. The Registrar enters the following information for the professor: name, date of birth, social security number, status, and department. The system validates the data to insure the proper data format and searches for an existing professor with the specified name. If the data is valid the system creates a new professor and assigns a unique system-generated id number. This number is displayed, so it can be used for subsequent uses of the system. Steps 2-4 are repeated for each professor added to the system. When the Registrar is finished adding professors to the system the use case ends. 2.2 Alternative Flows 2.2.1 Modify a Professor The Registrar selects "Modify a professor." The system displays a blank professor form. The Registrar types in the professor id number he/she wishes to modify The system retrieves the professor information and displays it on the screen The Registrar modifies one or more of the professor information fields: name, date of birth, social security number , status, and department. When changes are complete, the Registrar selects "save." The system updates the professor information. Steps 2-7 are repeated for each professor the Registrar wants to modify. When edits are complete, the use case ends. 2.2.2 Delete a Professor The Registrar selects "Delete a Professor." The system displays a blank professor form. The Registrar types in the professor id number for the professor that's being deleted. The system retrieves the professor and displays the professor information in the form. The Registrar selects "delete." The system displays a delete verification dialog confirming the deletion. The Registrar selects "yes." The professor is deleted from the system. Steps 2-8 are repeated for each professor the Registrar wants to modify. When the Registrar is finished deleting professors from the system, the use case ends. 2.2.3 Professor Already Exists If in the "Add a Professor" sub-flow, a professor already exists with the specified name, an error message, "Professor Already Exists", is displayed. The Registrar can either change the name, choose to create another professor with the same name, or cancel the operation at which point the use case ends. 2.2.4 Professor Not Found If in the "Modify a Professor" sub-flow or "Delete a Professor" sub-flow, a professor with the specified id number does not exist, the system displays an error message, "Professor Not Found". Then the Registrar can type in a different id number or cancel the operation at which point the use case ends. 3. Special Requirements There are no special requirements associated with this use case. 4. Preconditions 4.1 Log In Before this use case begins the Registrar has logged onto the system. 5. Postconditions There are no postconditions associated with this use case. 6. Extension Points There are no extension points associated with this use case.

| Copyright © IBM Corp. 1987, 2004. All Rights Reserved. | Course Registration Project Web Example Version 2001.03