0% found this document useful (0 votes)
93 views11 pages

UML Class Diagram for Library System

The document describes a UML model of a library system with classes like Library, Student, Books, and Departments. It includes class, object, component, deployment, use case, sequence, collaboration, activity, and statechart diagrams that model different aspects of the library system.

Uploaded by

aftabmca
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
93 views11 pages

UML Class Diagram for Library System

The document describes a UML model of a library system with classes like Library, Student, Books, and Departments. It includes class, object, component, deployment, use case, sequence, collaboration, activity, and statechart diagrams that model different aspects of the library system.

Uploaded by

aftabmca
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd

UML representation of

LIBRARY SYSTEM
CLASS DIAGRAM

College
name
code

Library

[Link]()
[Link].s() 1
1 1 1
* *
Student * Depts
Books
Librarian name
name name
name 1 id
author code
designation branch
publications
[Link]()
issuebook() selectdept()
[Link]()
renewbook() selectbook()
OBJECT DIAGRAM

c:college name:NEC
code:47

l:library

ll:librarian b:book s:student d:dept

name:Subba Rao name:Introduction


designation:06-SS3 toUML name:Sameer name:CSE
Author:Gooch branch:CSE code:027C6
Publications:Pears id:06-5B4
on
COMPONENT DIAGRAM

college.e contains details


xe of college

[Link] contains
e books

librarian.e [Link] [Link] student.e


xe xe

issues or contains
contains list of contains list details of
renews books departments of books students
DEPLOYMENT DIAGRAM

<<processor>>
college <<device>>
raid contains details
of college

<<processor>>
library <<device>>
contains details
terminal
of library

<<processor>>
<<device>> contains
student
raid terminal student details

<<processor>>
<<device>> contains details of
books
raid1 number of books

<<processor>>
<<device>>
departments contains details of
terminal1
number of
departments
USECASE DIAGRAM

enter library

<<include>>

select department list of departments

<<include>>

search books list of books

student select book

submit library card

receive book

check library card

enter details of book


librarian

issue book

renew book
SEQUENCE DIAGRAM

s:student l:library c:college lb:librarian b:book d:department

get admission

enter library

list of departments
select department

search for books


select book
submit library card
check details
issue book

ask for renewal


check details
renew book
COLLABORATION DIAGRAM

1: get admission
c:college
s:studen
2: enter library
t

4: select department
l:library

3: list of departments

5: search for books d:department


6: select book

7: submit library card


10: ask for renewal
8: check details
9: issue book
11: check details
12: renew book

b:book

lb:librarian
ACTIVITY DIAGRAM

Enter Library

Issue Renewal

Select Check details


department

Get renewal
Search books

Select book

Submit library
card

Valid

Note details of
book

Receive the invalid


book
STATECHART DIAGRAM

idle

enter library

active

select
department

search
book

select
book
invalid
exit library
submit
library card

valid
note the details
of book

issue the
book

You might also like