Umlmanual 2
Umlmanual 2
The student is expected to take up about five mini-projects and model them and produce - both
static & dynamic aspects of the model, using Rational Products i.e Rational Software Architect
A retail POS system typically includes a computer, monitor, keyboard, barcode scanners, weight scale,
receipt printer, credit card processing system, etc. and POS terminal software. It interfaces to various
service applications, such as a third-party tax calculator and inventory control. These systems must be
relatively fault tolerant; that is, even if remote services are temporarily unavailable they must still be of
capturing sales and handling at least cash payments. A POS system must support multiple and varied
client-side terminals and interfaces such as browser, PDAs, touch-screens.
Customer uses some web site to make purchases online. Follow the various websites like
snapdeal,flipkart,amazon.in so as to design an online shopping.
An Online Public Access Catalog (OPAC) is e-Library website which is part of Integrated Library
System (ILS), also known as a Library Management System (LMS), and managed by a library or group of
libraries. Members of the library can search library catalog online to locate various resources - books,
periodicals, audio and visual materials, or other items under control of the library. Members may
reserve or renew the resources.
Simulate the operations in an airport. Your application should support multiple aircrafts using several
runways and gates avoiding collisions/conflicts. Landing: an aircraft uses the runway, lands, and then
taxis over to the terminal. Take-Off: an aircraft taxies to the runway and then takes off
An automated teller machine (ATM) or the automatic banking machine (ABM) is banking subsystem that
provides bank customers with access to financial transactions in a public space without the need for a
cashier, clerk or bank teller. Customer uses bank ATM to check balances of his/her bank
accounts, depositfunds, withdrawcash and/or transferfunds .ATMTechnician provides maintenance and
repairs.
Mini-Project -VI: Hospital Management System
Several commerce models exist and are the basis for a number of companies like eBay.com,
pricellne.com etc. Design and implement an auction application that provides auctioning
services. It should clearly model the various auctioneers, the bidding process, auctioning etc.
In the course of one's student years and professional career one produces a lot of personal notes
and documents. All these documents are usually kept on papers or individual files on the
computer. Either way the bulk of the information is often erased corrupted and eventually lost.
The goal of this project is to build a distributed software application that addresses the problem.
The system will provide an interface to create, organize and manage personal notes through the
Internet for multiple users. The system will also allow users to collaborate by assigning
permissions for multiple users to view and edit notes.
Credit Card Processing System (Credit Card Payment Gateway) is a system under consideration.
Main part of the system is the Merchant’s Credit Card Processing System. The merchant submits
a credit card transaction request to the credit card payment gateway on behalf of a customer.
Bank which issued customer's credit card which could approve or reject the transaction. If
transaction is approved, funds will be transferred to merchant's bank account.
Passenger, Tour Guide, Minor (Child), Passenger with Special Needs (e.g. with disabilities),
involved in relation to airport business. Individual Check-In, Group Check-In (for groups of
tourists), Security Screening, etc. – representing process taking place in airport and serving the
needs of passengers.
Text Book(s):
Reference(s):
1. "Object Oriented Systems Analysis and Design using UML", Simon Sennet, Steve
McRobb, and Ray Farmer, McGraw Hill, 2002, 2ndEdition
2. "Object-Oriented Analysis & Design," Andrew Haigh, Tata McGraw Hill, 2001
INTRODUCTION
The development of UML began in late 1994 when Grady Booch and Jim Rumbaugh of Rational Software
Corporation began their work on unifying the Booch and OMT (Object Modeling Technique) methods. In
the Fall of 1995, Ivar Jacobson and his Objectory company joined Rational and this unification effort,
merging in the OOSE (Object-Oriented Software Engineering) method.1
As the primary authors of the Booch, OMT, and OOSE methods, Grady Booch, Jim Rumbaugh, and Ivar
Jacobson were motivated to create a unified modeling language for three reasons. First, these methods
were already evolving toward each other independently. It made sense to continue that evolution together
rather than apart, eliminating the potential for any unnecessary and gratuitous differences that would
further confuse users. Second, by unifying the semantics and notation, they could bring some stability to
the object-oriented marketplace, allowing projects to settle on one mature modeling language and letting
tool builders focus on delivering more useful features. Third, they expected that their collaboration would
yield improvements in all three earlier methods, helping them to capture lessons learned and to address
problems that none of their methods previously handled well.1
The efforts of Booch, Rumbaugh, and Jacobson resulted in the release of the UML 0.9 and 0.91
documents in June and October of 1996. During 1996, the UML authors invited and received feedback
from the general community. They incorporated this feedback, but it was clear that additional focused
attention was still required.1
While Rational was bringing UML together, efforts were being made on achieving the broader goal of an
industry standard modeling language. In early 1995, Ivar Jacobson (then Chief Technology Officer of
Objectory) and Richard Soley (then Chief Technology Officer of OMG) decided to push harder to achieve
standardization in the methods marketplace. In June 1995, an OMG-hosted meeting of all major
methodologists (or their representatives) resulted in the first worldwide agreement to seek methodology
standards, under the aegis of the OMG process.1
During 1996, it became clear that several organizations saw UML as strategic to their business. A
Request for Proposal (RFP) issued by the Object Management Group (OMG) provided the catalyst for
these organizations to join forces around producing a joint RFP response. Rational established the UML
Partners consortium with several organizations willing to dedicate resources to work toward a strong UML
1.0 definition. Those contributing most to the UML 1.0 definition included: Digital Equipment Corp., HP, i-
Logix, IntelliCorp, IBM, ICON Computing, MCI Systemhouse, Microsoft, Oracle, Rational Software, TI,
and Unisys. This collaboration produced UML 1.0, a modeling language that was well defined,
expressive, powerful, and generally applicable. This was submitted to the OMG in January 1997 as an
initial RFP response.1
In January 1997 IBM, ObjecTime, Platinum Technology, Ptech, Taskon, Reich Technologies and Softeam
also submitted separate RFP responses to the OMG. These companies joined the UML partners to
contribute their ideas, and together the partners produced the revised UML 1.1 response. The focus of
the UML 1.1 release was to improve the clarity of the UML 1.0 semantics and to incorporate contributions
from the new partners. It was submitted to the OMG for their consideration and adopted in the fall of
1997.1
A POINT OF SALE SYSTEM
A POS System is a computerized application used to record sales and handle payments.It is
typically used in a retail store.It includes hardware components such as a computer and
bar code scanner and software to run the system. It interfaces to various service
applications such as a third party tax calculator and inventory control.It allows users to just
view the products available and buy them if they like. Here three levels of users are defined
in this system. Customers can enter into the system and view and buy the products.
Cashier is the one who is responsible for selling the products.Manager has access to all the
users of the system and is responsible for creating users or deleting user accounts and
A use case diagram describes event sequences for an actor to use the system.It is a
anarrative description of process.A use case is normally actor or event based.An actor will
begin a process or an event will happen that the system must respond to.
Buy Product
Customer
Billing
Tax Calculation
Cashier
Manager
InventoryControl
Manage Employees
Place Order
Search Product
InventoryControl
Manager
Manage Employees
Place Order
Buy Product
Billing
Cashier
Tax Calculation
INTERACTION DIAGRAM:
A sequence diagrams depicts the sequence of actions that occur in a system.It captures the
invocation of methods in each object and order in which invocation occurs.It is used to
represent the behavior of a system.
Sequence diagram:
3: display details
4: confirm buy
6: calculates tax
7: bill details
8: pays bill
9: updates stock
Collaboration Diagram:
4: confirm buy
8: pays the bill
3: display details
2: get product details
Inventory
Class Diagram:
The Class diagram shows the building blocks of an object oriented system.They are used to
illustrate relationships between classes and interfaces.It depicts the static view of the model
describing what attributes and behavior it has.
State Chart Diagram:
State chart diagram is a powerful tool for specifying the dynamic behavior of reactive
objects.The response of reactive object depends on what state the object is in at the time
that the event occurred.
Description for sale sequence:
if not
Search product found Prepare
item list
generate Pay
bill take products
Activity Diagram:
search for
product
search for
if not
product
search for product found getproduct
product details
continue
shopping
get bill
calculate generate get bill pay bill
confirm buy
tax bill
no
A Component diagram shows the components in the system and their dependencies.Any
physical module is represented by a component.
cashier. productinfo search. pay.class
class .class class
products.
db
displaydet viewdetails
ails.class scanbarco
.class
de.class
manager.
customer.
class
class
Control Database
Point of transaction
getdetails. System
sale s.db
class
scan.class
proinfo.
class
sell.class buy.class caltax.clas
getproduct Users.db
info.class s
billing. transaction
class .class
This system needs a server ,database to store the data,a point of sale component and some
terminals like customers.
customer1
customer2
Online Shopping
Online shopping is a computer based system allowing users anywhere around the world to
just view the products available and buy them if they like. Here three levels of users are
defined in this system. Customers can enter into the system and view the products.To gain
full access they should login and only such users will have privilege to buy products. Seller
is the one who is responsible for selling the products. Here they allow customers to pay bill
through secure online payment basis. Admin has access to all the users of the system and is
responsible for creating users or deleting users accounts.
A use case diagram describes event sequences for an actor to use the system. It is a
narrative description of process. A use case is normally actor or event based. An actor will
begin a process or an event will happen that the system must respond to.
Add to cart
Customer Login
Payment
Order Status
Admin
Shipping
Manage Inventory
Add/remove users
Add to cart
Customer Login
Payment
Connect to bank
Order Status
Login
Order Status
Shipping
INTERACTION DIAGRAM:
Sequence diagram:
create order book inventory add to cart login register pay bill bank database
Customer buy
catalog
seller
1: create order
2: search
3: available
4: add to cart
5: loginrequest
6: login
7: validate
8: fail
9: registerrequest
10: register
11: validate
12: success
20: validate
21: success
Collaboration Diagram:
2: search 3: available
create book
order inventory
catalog
1: create order
buy
20: update inventory 18: validate
16: pay bill 21: ship book
13: shipment details 19: success
pay bill
bank
14: payment details 17: enter bank details
seller
Class Diagram:
The Class diagram shows the building blocks of an object oriented system.T hey are used to
illustrate relationships between classes and interfaces. It depicts the static view of the
model describing what attributes and behavior it has.
validate
found book
search getbook addtocart login
info
valid
invalid
valid
ship
Activity Diagram:
search for
product
add to cart
loginstatus
valid
invalid
login register
invalid validate
valid
yes
logged in continue
successfully shopping
no
no
invalid
pay bill enter bank validate
details
valid
ship book
Component Diagram:
A Component diagram shows the components in the system and their dependancies.Any
physical module is represented by a component.
bank.class shipping.cl
ass buy.class
login.class
payment.cl users.db
ass
cart.class
sellers.
class
database
register. online book Transaction producs.db
class store
prodetails.
class users.clas
s account.
transaction
shipping.cl class
.db
ass
books.
payment. sell.class class
class
Deployment Diagram:
This system needs a server to carry out operations of a product store, a bank server to
carry out the bank transactions,database to store the data,a product store component and
some terminals like customers
customer1
bank
server
online central
book store server
customer2 database
E-Library OPAC
An Online Public Access Catalog (OPAC) is an e-Library website which is part
of Integrated Library System (ILS), also known as a Library Management
System (LMS), and managed by a library or group of libraries.
Patrons of the library can search library catalog online to locate various resources - books,
periodicals, audio and visual materials, or other items under control of the library. Patrons may
reserve or renew item, provide feedback, and manage their account.
Let us just have an overview of the Library Management System (LMS):
Librarian lends books and magazines
Librarian maintains the list of all the members of library
Borrower makes reservation online
Borrower can remove reservation online
Librarian issues books to the borrower
Librarian calculates dues to be paid by the borrower
Borrower issues/returns books and/or magazines
Librarian places order about the requirements to the master librarian
Librarian updates system
Master librarian maintains librarians
TEXTUAL ANALYSIS
(a) ACTORS
i. Librarian
ii. Borrower
iii. Catalog
iv. Master Librarian
Librarian:
1. Manages and validates members
2. View reports from the system
3. Issues books
4. Calculates dues
5. Takes books
6.
7. Places orders to the master librarian
8. Maintains list of books and magazine
USECASE DIAGRAM:
Use case diagram is created to visualize the interaction of our system with the outside
world. The components of use case diagram are:
ACTIVITY DIAGRAM:
a) Start State
b) End State
c) Transition
d) Decision Box
e) Synchronization Bar
f) Swim Lane
INTERACTION DIAGRAM:
An interaction diagram models the dynamic aspects of the system by showing the
relationship among the objects and messages they may dispatch. There are two types of
interaction diagrams:
SEQUENCE DIAGRAM:
Sequence diagram shows the step to step what mush happen to accomplish a piece
of functionality provided by the system. The components are:
a) Actor
b) Object
c) Messages
d) Lifeline
e) Focus of Control
COLLABORATION DIAGRAM:
Collaboration diagram displays object interactions organized around objects and their links to
one another. The components are:
a) Actor
b) Object
c) Link
CLASS DIAGRAM:
Class diagram shows structure of the software system. The class diagram shows a set of
classes, interfaces and their relationships. The components are:
a) Class
b) Relationship:
The forms of relationship are:
1. Association
2. Aggregation
3. Generalization
4. Composition
5. Dependency
STATE CHART DIAGRAM:
State chart diagram show a life cycle of a single class. The state is a condition where the
object may be in. The components are:
a) Start state
b) End state
c) State
d) Transition
Member: Librarian:
Library Administrator:
send/receive signal
runway availability
Runway controller
Update runway status
Heads
check free terminals
Pilots
send/receive terminal
number
Terminal Controller
land/park aircraft
manage employees
Heads
send/receive terminal
number
manage employees
send/receive signal
Pilots
send/receive terminal
number
land/park aircraft
send/receive terminal
number
send/receive signal
send/receive terminal
number
INTERACTION DIAGRAM:
A sequence diagrams depicts the sequence of actions that occur in a system.It captures the
invocation of methods in each object and order in which invocation occurs.It is used to
represent the behavior of a system.
1: sends signal
3: checks
6: check availabilty
7: checks
9: send runway no
Collaboration Diagram:
3: checks
1: sends signal
13: else asks for free terminal 2: checks weather condition
weather
terminal
runway
Class Diagram:
The Class diagram shows the building blocks of an object oriented system.They are used to
illustrate relationships between classes and interfaces.It depicts the static view of the model
describing what attributes and behavior it has.
State Chart Diagram:
State chart diagram is a powerful tool for specifying the dynamic behavior of reactive
objects.The response of reactive object depends on what state the object is in at the time
that the event occurred.
update
signal to update terminal free terminal found free runway status
park status terminal
assigns free terminal assigns free runway
signal to
land
Activity Diagram:
check
weather cond
land
assign
takes off runway
immediately
take off no
no
sends runway
assign free number
terminal
send signal
to land
Component Diagram:
A Component diagram shows the components in the system and their dependencies.Any
physical module is represented by a component.
employees freetermin
al.class land.class
getterminal .class
.class
aircrafts.db
land.class send.class
central runway.db
takeoff.cla aircraft database
ss simulation
receive.
class freerunway employees
.class .db
take.class
pilots.class
weather.cl getrunway. getstatus.
ass class class
Deployment Diagram:
This system needs a server to carry out operations of a airport,database to store the data,a
airport simulation component and some terminals like heads and a pilot.
head1
airport
pilot server database
simulation
head2
Bank ATM
Introduction:
+sselecting cash
+mode of payment
+Enter Amount
ATM Database
user
2: updating database
Withdraw collaboration:-
2: enter the amount 4: select mode of payment
Withdraw cash collaboration :-
user
2: updating database
ATM database
logged on
invalid login
relogin transition
withdrawl
logout updation
transaction completed
stop
Component Diagram :-
Login local
Controller bank
Login user
account
info and
Perform Transaction
Transaction Manager
Deployment Diagram :-
Hospital Management System
Hospital Management System is a large system including several subsystems or modules
providing variety of functions. Hospital subsystem or module supports some of the many job
duties of hospital receptionist. Receptionist schedules patient's appointments and admission to
the hospital, collects information from patient upon patient's arrival and/or by phone. For the
patient that will stay in the hospital ("inpatient") she or he should have a bed allotted in a ward.
Receptionists might also receive patient's payments, record them in a database and provide
receipts, file insurance claims and medical reports.
Class Diagram:
Activity Diagram:
Sequence Diagram
Collaboration diagram
Deployment DIAGRAM
An Auction Application
An Auction Application is a computer based system allowing users anywhere around the
world to search for the products available, to bid and buy them if they like. Here two levels
of users are defined in this system. Customers (bidders) can enter into the system and
search for the products and to bid them. To gain full access they should login and only such
users will have privilege to bid the products. Auctioneer is the one who is responsible for
auction process and delivering the product.
A use case diagram describes event sequences for an actor to use the system. It is
a narrative description of process. A use case is normally actor or event based. An
actor will begin a process or an event will happen that the system must respond to.
sign up/login
request/send details
bidder
bid the product
auctioner
request/send details
bidder
bid the product
sign up/login
request/send details
auctioner
SYSTEM DESIGN
Class Diagram:
The Class diagram shows the building blocks of an object oriented system. They are used to
illustrate relationships between classes and interfaces. It depicts the static view of the
model describing what attributes and behavior it has.
INTERACTION DIAGRAM:
Sequence Diagram:
A sequence diagrams depicts the sequence of actions that occur in a system. It captures the
invocation of methods in each object and order in which invocation occurs. It is used to
represent the behavior of a system.
login bidder search for productinfo request bid the buy sell delivery
products product product
: bidder : auctioner
1: enter details
2: authenticate
3: wrong password
4: valid user
Collaboration Diagram:
3: wrong password
request
search for product
products
9: accept the request
bid the
: auctioner buy product
11: pay the price
State chart diagram is a powerful tool for specifying the dynamic behavior of reactive
objects. The response of reactive object depends on what state the object is in at the time
that the event occurred.
Enter details
sign Enter product details search for
in/signup the product
product found
Activity Diagram:
Activity diagrams describe the workflow behavior of a system. They are similar to state
diagrams because activities are the state of doing something. They describe the state of
activities by showing the sequence of activities performed. They show activities that are
conditional or parallel. They are used for analyzing a use case by describing what actions
need to take place and when they should occur.
Enter details
Sign
in/sign up
authenticate Reenter
details
search for
product
bid the
product
Sell the
product
deliver the
product
Component Diagram:
A Component diagram shows the components in the system and their dependencies. Any
physical module is represented by a component.
Bidder.class productinfo.cl
ass
user.db
product.db
site.class
Deployment Diagram:
Deployment and diagrams are used to model the physical aspects of an object oriented
system.It shows the configuration of runtime processing nodes components.
database
Produ user
bidder central ct
s server
update
list
A use case diagram describes event sequences for an actor to use the system. It is
a narrative description of process. A use case is normally actor or event based. An
actor will begin a process or an event will happen that the system must respond to.
login
search
admin
faculty data
student
student data
faculty modify
delete
internal operations
SYSTEM DESIGN
Class Diagram:
The Class diagram shows the building blocks of an object oriented system. They are used to
illustrate relationships between classes and interfaces. It depicts the static view of the
model describing what attributes and behavior it has.
INTERACTION DIAGRAM:
Sequence Diagram:
A sequence diagrams depicts the sequence of actions that occur in a system. It captures the
invocation of methods in each object and order in which invocation occurs. It is used to
represent the behavior of a system.
2: any error
5: modifies if necessary
6: deletes if necessary
5: modifies if necessary
6: deletes if necessary
Collaboration Diagram:
internal
deletion operations
s
: faculty
1: login details
login
details
3: error status is sent
: admin
7: verifies or modifies fac data
6: error is reported
9: error is reported
5: any error
8: any error
4: verifies or modifies stu data
student
faculty
data
data
State chart diagram is a powerful tool for specifying the dynamic behavior of reactive
objects. The response of reactive object depends on what state the object is in at the time
that the event occurred.
Description:
Activity Diagram:
Activity diagrams describe the workflow behavior of a system. They are similar to state
diagrams because activities are the state of doing something. They describe the state of
activities by showing the sequence of activities performed. They show activities that are
conditional or parallel. They are used for analyzing a use case by describing what actions
need to take place and when they should occur.
login details
no
valid
yes
no search for
the files yes
no
search found serach not
found
yes
exit any
no application
yes
search again
no
modificatio deletions
ns
int operations
done if needed
want to exit
ACTIVITY DIAGRAM
Component Diagram:
A Component diagram shows the components in the system and their dependencies. Any
physical module is represented by a component.
save.class
edit.class open.class
add.class
internal
Operations
facultyData
delete .db
search
modify
databas studentDat
e a.db
fms server
COMPONENT DIAGRAM
Deployment Diagram:
Deployment and diagrams are used to model the physical aspects of an object oriented
system.It shows the configuration of runtime processing nodes components.
FMS SERVER
DEPLOYMENT DIAGRAM
Credit Card Processing System
CLASS DIAGRAM
SEQUENCE DIAGRAM
COLLABORATION DIAGRAM
STATE CHART
DEPLOYMENT DIAGRAM
COMPONENT DIAGRAM