Case Tools Lab
Case Tools Lab
AIM
To design an object oriented model for Library Management System using Argo
UML and to implement it using Java.
PROBLEM STATEMENT
The library management system is a software system that issues books and
magazines to registered students only. The student has to login after getting
registered to the system. The borrower of the book can perform various functions
such as searching for desired book, get the issued book and return the book.
CLASS DIAGRAM
A class diagram in the unified modeling language is a type of static structure
diagram that describes the structure of a system by showing the system’s classes,
their attributes, operations and the relationships among objects. The library
management system makes use of the following classes user,
~1~
librarian, system and DBA.
logi
n
display
page
requesting for
use book
r
display book
details
search for
book libraria
n
issue
book
return
book
DBA
maintain
database
~2~
DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM
~3~
library
management
use DBA
r libraria
n
STATECHART DIAGRAM
COLLABORATION DIAGRAM
Like sequence diagram collaboration diagrams are also called as interaction
diagram. Collaboration diagram convey the same information’s as sequence
diagram but focus on the object roles instead of the times that messages are sent.
Here the actions between various classes are represented by number format for the
case of identification.
~4~
SEQUENCE DIAGRAM
A sequence diagram represent the sequence and interactions of a given use case or
scenario. Sequence diagram capture most of the information about the system. It
is also represent in order by which they occur and have the object in the system
send message to one another. Here the sequence starts with interaction between
user and the system followed by database. Once the book have been selected the
next half of sequence starts between librarian and user followed by database.
~5~
ACTIVITY DIAGRAM
~6~
RESULT
Thus the various UML diagrams for library management system was drawnand
the code was generated successfully.
~7~
Ex No 2 ATM TRANSACTIONS
Date :
AIM
To design an object oriented model for ATM Transaction system using Argo UML.
MODULAR DESCRIPTION
For the verification of ATM card by the system, the user will enter the secret code. The pin
number or code number is verified with the database of the customers. If the code exactly is
matched with database of that of the customers then transaction can be performed. If the
code does not match withthe database of the customer then the user is requested again to re-
enter the pin number of the accesscard and is continued further.
TRANSACTION
In this module, after the user performs the transaction process the system displays the
balance amount available in the account and the amount withdrawn by the user through
receipt. The receipt will be provided at the end of the transaction process.
~8~
~9~
~ 10 ~
~ 11 ~
RESULT
Thus the various UML diagrams for ATM Transaction were drawn and code was generated
successfully.
~ 12 ~
Ex.No:03 STUDENT INFORMATION SYSTEM
Date:
AIM
To design an object oriented model for Student information system using Argo
UML.
PROBLEM STATEMENT
The student must register by entering the name and password to login the form.
The admin select the particular student to view the details about that student and
maintaining the student details. This process of student information system is
described sequentially through following steps. The student registers the system.
The admin login to the student information system. He/she search for the list of
students. Then select the particular student. Then view the details of that student.
After displaying the student details then logout.
CLASS DIAGRAM
The class diagram is the graphical representation of all classes used in the system.
The class diagram is drawn as rectangular box with three components or
compartments like class name, attributes and operations. The student information
system makes use of the following classes like student, staff, system, DBA and
server.
~ 13 ~
COLLABORATION DIAGRAM
A Collaboration diagram represents the collaboration in which is a set of objects
related to achieve a desired outcome. In collaboration, the sequence is indicated
by numbering the message several numbering schemes are available. Login,
request access, allow access, display, view details, logout, login, request access,
allow access, display, enter profile, enter mark, provide data, logout, store data,
update data.
~ 14 ~
SEQUENCE DIAGRAM
~ 15 ~
by database. The student first login to the system and then viewthe
details of the details. Staff login to the system enter mark and enter the
details of the student. DBA store and update the detailsof the student.
COMPONENT DIAGRAM
~ 16 ~
logi
n
<<actor>
displa >
y projection
of student
enter
profile
enter
mark
s
tudent view
details staf
f
update
details
allow acces
serve s
r DBA
reques t
access
store
data
DEPLOYMENT DIAGRAM
~ 17 ~
STATE CHART DIAGRAM
A State chart diagram is also called as state machine diagram. The state chart
contains the states in the rectangular boxes and the states are indicated by the dot
enclosed. The state chart diagram describes the behavior of the system. The state
chart involves six stages such as login, enter mark, enter profile, view details,
provide details, update details, store details and logout.
view
details
~ 18 ~
ACTIVITY DIAGRAM
~ 19 ~
RESULT
Thus the various UML diagrams for student informationsystem were drawn and code was generated
successfully.
~ 20 ~
Ex No 04 MATRIMONY SERVIVE
Date:
AIM:
To create a system to perform the Matrimony Service.
PROBLEM STATEMENT
In UML, a Matrimony Service can be modeled using several diagrams, including use
case diagrams, class diagrams, and sequence diagrams. Here's a brief overview of
how a Matrimony Service can be represented in UML
A use case diagram can be used to show the different actors (users) of the matrimony
service and the different use cases they can perform. For example, the actors could be
registered users, Admin’s, and guests. The use cases could include creating a profile,
searching for potential matches, sending messages, and managing account settings.
~ 21 ~
Class Diagram:
A class diagram can be used to show the different classes and their relationships in the
matrimony service. For example, there could be classes for user profiles, messages,
preferences, and matches. The relationships between these classes could include
~ 22 ~
Activity Diagram:
An activity diagram can be used to show the different activities or processes involved in using
the matrimony service. For example, an activity diagram could show the steps involved in
searching for potential matches, such as setting search criteria, viewing search results, and
sending messages
~ 23 ~
~ 24 ~
Sequence Diagram:
A sequence diagram can be used to show the interactions between different objects or
components in the matrimony service. For example, a sequence diagram could show the
steps involved in creating a user profile, such as entering personal information, uploading
photos, and setting preferences.
State Diagram:
A state diagram can be used to show the different states and transitions for a particular
object or component in the matrimony service. For example, a state diagram could show
the different states that a user profile can be in, such as incomplete, pending approval,
active, and deactivated.
~ 25 ~
RESULT
Thus the various UML diagrams for Matrimony Service were drawn and code was generated
successfully
~ 26 ~
Ex no: 5 STOCK MAINTENANCE
Date:
AIM:
To create a system to perform the Stock maintenance
(I)PROBLEM STATEMENT
The stock maintenance system must take care of sales information of the
company and must analyze the potential of the trade. It maintains the number of
items that are added or removed. The sales person initiates this Use case. The
sales person is allowed to update information and view the database.
PURPOSE
The entire process of Stock maintenances done in a manual manner
Considering the fact that the number of customers for purchase is increasing every
year, a maintenance system is essential to meet the demand. So this system uses
several programming and database techniques to elucidate the work involved in
this process.
SCOPE
• The System provides an interface to the customer where they can fillin
orders for the item needed.
• The sales person is concerned with the issue of items and can usethis
system.
~ 27 ~
• Provide a communication platform between the customer and thesales
person.
TOOLS TO BE USED
• Eclipse IDE (Integrated Development Environment)
• Rational Rose tool (for developing UML Patterns)
(III) USE CASE DIAGRAM
The functionality of a system can be described in a number of different
use-cases, each of which represents a specific flow of events in a system. It is a
graph of actors, a set of use-cases enclosed in a boundary, communication,
associations between the actors and the use-cases, and generalization among the
use-cases
Place
Order
Track
order
Custome
r
Validate
Customer
Ship
Order
Ship Partial
Order
Sales
Person
Bill Customer
~ 28 ~
(IV) ACTIVITY DIAGRAM
Custome
r
Sales
Request
Service
Delive
r
Collec
t
~ 29 ~
(V) CLASS DIAGRAM
Description:
A class diagram describes the type of objects in system and
various kinds of relationships that exists among them.
Class diagrams and collaboration diagrams are alternate
representations of object models.
~ 30 ~
(VI) UML INTERACTION DIAGRAMS
An Order
An An Order
An An Order
An Order Line AA Stock
Stock
Order Order Line Item
Item
Prepar
e
Prepar
e
Has
Stock:=Check
[has
Stock]:Remove
Needs reorder:=needs to
reorder()
[needs reorder]:new
A AReorder
Reorder
Item Item
AA Delivery
Delivery
Item
Item
[Has Stock]:
new
~ 31 ~
COLLABORATION DIAGRAM
ORDER ENTRY
WINDOW
1: prepare()
AN ER
ORD
4: [hasstock]remove()
6: 5: [needs Reorder]:new
[hasstock]:ne
w
~ 32 ~
(VII) PARTIAL LAYERD LOGICAL ARCHITECTURE DIAGRAM
UI
Swing Text
Domain
Customer Order
Shipment
Product
Technical Se rvices
DBFacade
~ 33 ~
(VIII) DEPLOYMENT DIAGRAM AND COMPONENT DIAGRAM
Fig.8.1.DEPLOYMENT DIAGRAM
LAN
<<database>> <<client
:MySQL workstation>>:
GenericPC
Component Diagram
Fig.8.2.COMPONENT DIAGRAM
~ 34 ~
RESULT
Thus the project for stock maintenance system has beensuccessfully
executed and codes are generated.
~ 35 ~