Unit 2
Unit 2
Unit 2
Unit 2
Object Oriented Methodologies
Rambough’s method
Booch’s method
Jacobso’s use cases
Rumbaugh’s Object Modeling Technique
Object - (object modeling technique) was developed
in the late 1980s at the general electric research and
development.
Rumbaugh’s OMT describes the method for the
analysis, design and implementation of system using
an object oriented technique.
OMT consist of four phases, which can b performed
iteratively:
Analysis
System Design
Object Design
Implementation
OMT MODELS
OMT separates modeling in to three different
parts:
Object Model
dynamic Model
functional Model
OMT Object Model
Patterns
Static Dynamic
Class name
Class properties
List of Operation
Class Interface Notation
employer employee
Company Person
Works-for
Qualifier
OR Association
Association class
An association class is an association that also has an
association properties.
N-Ary Association
Aggregation and Composition
Aggregation is a form of association.
A hollow diamond is attached to the end of the path.
Composition
Generalization
It is a relationship between a general class and a specific class.
It is displayed as a directed line with a closed,hollow arrowhead
at the superclass end.
Generalization
Use Case Diagram
• A use case diagram corresponds to a sequence of
transactions in which each transaction is invoked
from outside the system(actors).
• It engages internal objects to interact with one
another and with the system’s surroundings.
• Use cases represent specific flows of events in the
system.
• A use-case diagram is a graph of actors,a set of use
cases enclosed by a system boundary,associations
between the actors and the use cases.
A Use-Case Diagram
Help Desk
Make a call
Client
Do Research
<<actor>> <<actor>>
Customer Customer
Customer
Relationships in a use case diagram:
• Communication: It is shown by connecting the actor
symbol to the use case symbol with a solid path.
Exchang
Caller Receiver Talk
e
OffHook
DialTone
DialNumber
RingTone
OffHook
OnHook
Collaboration Diagram
Caller Message
Receiver
5:OffHook
6:OnHook
Talk
State Chart Diagram
It shows the sequence of states.
A state is represented as a rounded box, which may
contain one or more compartments.
Name compartment holds the name of the state.
Internal transition compartment list of actions /
activities
Idle
Lift receiver and
get dial tone
State Chart Diagram
Dialing
digit(n)
Activity Diagram
An activity diagram is a special case of a state machine
in which states are activities representing the
performance of operations and transitions are triggered
by the completion of the operations.
It shows the flow of events with our system & what is
going on inside a use case.
We draw the activity diagram for each & every use
case.
An activity is shown as a round box, containing the
name of the operation.
Index documents
Synchronization bar
Make electronic file
Complete request
Pay provision to
insurance agent
3.Activity Diagram – Login Use case
Custom er Enters
the login details
System validates
the cus tom er
[ False ]
Sys tem prompts to
reenter
[ True ]
System welcomes
the cus tom er
Implementation Diagrams
Implementation diagrams show the implementation
phase of systems development such as the source code
structure and the run-time implementation structure.
There are two types of implementation diagrams :
(i)Component Diagrams:which show the structure of
the code itself.
(ii)Deployment Diagrams:which show the structure of
the run –time system.
Component Diagrams
Component Diagrams model the physical components
(such as source code,user interface) in a design.
UI
Deployment Diagram
It shows the configuration of run time processing
elements & the software components, processes &
objects that live in them.
Clients Bank
Accounts
Checking Saving