Experiment Uml 2
Experiment Uml 2
Experiment Uml 2
Temporal
Occur as result of reaching a point in time
Based on system deadlines
State
Something inside system triggers processing need
Requirement definition
Determine relevant events
Identifying Events
1. Can be difficult to determine
2. Often confused with conditions and responses
3. May be useful to trace a transaction’s life cycle
4. Certain events left to design phase
a. Systems controls to protect system integrity
b. Perfect technology assumption defers events
Case study :Library Management System
Use Case: A use case is an activity the system carries out, usually in response to a request by
a user.
Actor: An actor is a person or thing that interacts with the system.
The use cases in the library system are as follows:
Search books
Issue book
Charge fine cost for late retrurn
Return book
Update member details
Add book
Maintain book record
c) EVENT TABLES
The event table contains the following fields
PROCEDURE:
An Event table includes rows and columns, representing events and
their details, respectively.
Each row in the event table records information about one event and its use case.
Each column in the table represents a key piece of information about that event and
use case.
A trigger is a signal that tells the system that an event has occurred, either
the arrival of data needing processing or a point in time.
A source is an external agent that supplies data to the system.
A response is an output, produced by the system, that goes to a destination.
A destination is an external agent that receives data from the system.
Event trigger source Use case response Destination
Students will get registration student registration A real time page which Student
registered displays registration form
Student wants to Student login student login Generates webpage with Student
login login options
Student search for a Search for a student search Displays details of all books Student
book book library
system
Student borrows a Barrow book student barrow Display book details to be Student
book barrowed
Librarian issues a Issues book librarian issues Displays the book Librarian
book availability & details of and student
student to be which book
issues
Student returns a Book returns student return Displays the page which Librarian
book shows the book to be return and student
Student can view View catalog student View Displays particular register Student
these catalog catalog student details
Student reserve a Reserve a student reserve Display the of book that is Librarian
book book reserved and student
Librarian collects Collect fine librarian fine Details of all students have to
fine from late pay the fine librarian
return
Librarian wants to Librarian login librarian login Displays login page Librarian
login
Student renews the Renews book student renew Displays the book details to Librarian
book be renewed and student
Librarian maintain Maintain librarian Maintain View the details of all Librarian
catalog catalog catalog students and books in library
Librarian check Check librarian reserve View book details for which Librarian
reservation catalog reservation reservation are made
Librarian buys Buy books librarian Buy books Purchase books from vendor Vendor
book from vendor & details of book with prices and
librarian
Vendor supply Supply books vendor Supply Displays the details of all the Librarian
books books books purchase by librarian and vendor
VIVA QUESTIONS
1. What is an event?
2. What is Use case?