UML Library Mang Sys
UML Library Mang Sys
Requirement Specification:-
Requirement 1:
Requirement 2:
Requirement 3:
Requirement 5:
The display would also provide the number of copies which is available for
issue
The display shall provide a means to select one or more rows to a user-list
A detailed view of each book should provide information about check-
in/check out status, with the borrower’s information.
The search display will be restricted to 20 results per page and there would be
means to navigate from sets of search results.
The user can perform multiple searches before finally selecting a set of books
for check in or checkout. These should be stored across searches.
Requirement 6:
Librarians and member of the library can check out a book using its call
number.
The checkout can be initiated from a previous search operation where user has
selected a set of books.
The student ID who is issuing the book would be entered.
The issue date would automatically reflect the current system date.
The due date would automatically be stamped as 7 days from current date.
Requirement 7:
Requirement 8:
Requirement 9:
Security requirements:
All the account managing operations can be used by only librarian.
The check-in, check-out and recall system can be used by only member of the
library.
The book return report and book borrowing report can be generated by only
librarian.
Reliability requirements:
The system shall generate error messages when the user attempts to enter
invalid data.
If the system is down, it shall be recovered within 15 minutes.
The system shall be recovered without interference at user terminal if it is
down.
The system shall have 99.9% reliability during library operating hours.
PAGE 5
An actor is represents a user or another system that will interact with the
system you are modeling. A use case is an external view of the system that represents
some action the user might perform in order to complete a task.
Here in this system, the primary user of the system is librarian who is responsible for
user creation, book item creation, check-in, checkout and all search operations. The
student refers to an end-user of the system who is a member of the library and a
student at the university.
USECASE DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM
PAGE 8
Class diagrams are widely used to describe the types of objects in a system
and their relationships. Class diagrams model class structure and contents using
design elements such as classes, packages and objects. Class diagrams describe three
different perspectives when designing a system, conceptual, specification, and
implementation. These perspectives become evident as the diagram is created and
help solidify the design.
Classes are composed of three things: a name, attributes, and operations.
Below is an example of a class.
.
Aggregations indicate whole part-of relationship. It is represented by .
The above class diagram reveals the main class is library management system which
is divided in to two users like student and librarian. Student and librarian perform
tasks according to their need. The other class name is transaction and book.
.
PAGE 9
CLASS DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM
OBJECT DIAGRAM
USES:
OBJECT DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM
LIBRARY MANAGEMENT SYSTEM
PAGE 11
INTERACTION DIAGRAM
DEF: This diagram shows the interaction in between different objects and their
relationships including the messages that may be dispatched among them.
SEQUENCE DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM
PAGE 13
COLLABORATION DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM
ACTIVITY DIAGRAM
Initial state: The initial state marks the entry point and the initial activity
state. It is represented by
Branching: The trigger less transitions may have guard conditions that is
will five only if that conditions are met. Whenever decision making or a
Boolean expression is specified branching is done. it represents alternate
paths represented by
◊ .
PAGE 15
Swimlanes: These are group related activities into one column. These are
useful when modeling new things happen in a system and can be used to
show where activities takes place or who carries out.
1) student
2) admin
3) lms
PAGE 16
ACTIVITY DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM
PAGE 17
Uses: These are used to model the dynamic aspects of a system ,class or
usecase.
Contents:
component,Interfaces,Relationships(dependency,generalization,
association and realization relationships)
1. User
2. Security
3. LMS Application Server
4. Data
PAGE 20
COMPONENT DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM
PAGE 21
Definition: It is a diagram that shows the configuration of the run time processing
nodes and components that live on them.
Uses:
1. These are used to model static deployment view of a system
2. These are used to visualizing ,specifying constructing and documenting
embedded client-server and distributed systems
3. These are used to define executable systems through forward and reverse
engineering.
1. User
2. LMS Application Server
3. Database Server
PAGE 22
DEPLOYMENT DIAGRAM
FOR
LIBRARY MANAGEMENT SYSTEM