Uml Diagrams For Library Management System
UML Activity Diagram For Library Management System
Activity diagram is one of the important uml diagram which describes the flow of activity in system.Activity diagram is basically a flowchart which shows connection between one activity of system to another activity.before drawing activity diagram you should list activity of user and connection between both activity.Activity diagram of library management system may defer according to users such as administrator, customer etc.
Activity of Issuing books to member: The librarian checks the availability of book.if the book is not available,then an error message will be displayed else the check the rack no were the book is placed will be displayed.the member is validated.depending upon the type of member if more books can be issued to member ,the transaction will be created and issue details are added to the transaction.the book and member details are updated accordingly
UML Class Diagram For Library Management System
In uml class diagram describes the structure of system by showing the system classes,attributes,methods,and associations between classes.
UML Class diagram for library management system contains classes such as
3. Transaction class
4.Member record class
Each class contains various attributes and methods(Functions) which call other class attributes to share data.
1.Book Class contains attributes such as author,book name,price status,rack no,edition.
and functions such as display book details,update status.
2.librarian class contains attributes such as name,password and functions such as search book,issue book,calculate fine,calculate bill.
3.transaction class contains attributes such as transaction id,member id bill id date of issue etc. and functions such as create transaction delete transaction
4.Member record class contains attributes such as member id,type,date of issue,no of books,etc. and functions such as increase book issue, decrease book issue,pay bill.
5.Bill class contains attributes such as bill no,date,member,amount and functions such as create bill,update bill.
UML Collaboration Diagram For Library Management System
Collaboration diagram is an interaction diagram that emphasizes the structural organization of the objects that send receive message.A collaboration diagram is very similar to sequence diagram.Collaboration diagram shows the objects and their association with other objects.Modeling objects in a system and representing the association between the object as links are easily represented in a collaboration diagram.
if you drawing diagrams in rational rose software after drawing sequence diagram for inventory management system press F5 to see collaboration diagram.sequence diagrams and collaboration diagrams shows same information but sequence diagram focus on the temporal aspect and collaboration diagram focus on communication between the objects of system
UML Component Diagram For Library Management System
Component diagram are one of the two kind of diagram found in modeling the physical aspects of object oriented system.A component diagram shows the organization and inter relationship between a set of component.We use component diagram to visualize the static aspect of the physical component and their relationship and to specify their details for construction.Component diagram is essentially class diagram that focus on a system's component.
UML Deployment Diagram For Library Management System
Deployment diagram is a diagram that shows the configuration of run time processing nodes and components that live on them.The deployment diagram provides a different perspective of the application.The deployment diagram captures the configuration of the run time element of the application.We use deployment diagram to model the static and dynamic view of an system.Deployment diagram are not only important for visualizing, specifying,and documenting embedded,client server,and distributed system, but also for mapping executable system through forward and reverse engineering
UML sequence Diagram For Library Management System
Sequence diagram descries interaction among classes in terms of an exchange of message over time.sequence diagram demonstrate the behavior of objects in a use case by describing the object and messages they pass.A sequence diagram depicts the sequence of actions that occurs in system.the invocation of methods in each object and the order in which they captured in a sequence diagram.this makes sequence diagram very useful.Sequence diagram in tho dimensional in nature
Librarian Issues a book to member:- Whenever a member asks for a book,the librarian checks the availability of book,if the book is available then the rack number of that book will be returned to librarian. librarian then checks the validity of member by verifying the library card.if member is valid then the number of books issued to him is less then maximum allowed ,books issued to him and transaction is created. librarian then update the number of books issued to member and status of book
UML state chart Diagram For Library Management System
State chart diagram are used to help the developers better understand any complex functionalities or business flow of specialized area of system.in short state chart diagram depict the dynamic behavior of the entire system.A state chart diagram shows a state machine.state chart diagram can be used to graphically represent finite state machine.
1:available :- the book is available in library and can be issued to member.
2:issued to member: Book is with member and is not available in library
State chart diagram contain following states.
states are librarian are :
4)checking availability of book
UML use case Diagram For Library Management System
Use cases represents typical set of scenarios that help to structure,relate and understand the essential requirement.A use case diagram is diagram that help system analyst to discover the requirement of target system from the user's perspective.use case diagram can be used to describe the functionality of system in horizontal way.Use case diagram are used to represent fuctionality of the system from a top down perspective.
Actors of system are:
1)Librarian : librarian can check availability of book,verify member issue book,calculate fine and return book
2)Member: Member can check availability of book, issue book and return book to system