Object Modeling Techniques (OMT) - Rumbaugh
->Very fast, intuitive approach for designing.
->Broken down in to the following models. Each model helps in identifying the objetcs, classes,
associations, data stores, external entities , etc in the system.
a. The Object Model :
scribes the structure, identity,relationships,attributes and operations of the objects in the system.
->Represented by an Object diagram.
b. The Dynamic Model :
-> Depicts how an entity changes from one state to another.
-> For a change of state we require one or more events generating in the system from within or outside.
-> The next state of the entity depends on the current state and the event.
-> Represented using state transition diagram.
c. The Functional Model :
-> Depicts the flow of data between different processes in the system.
-> Represented using DFD (Data flow diagram).
->OMT provides one of the strongest tool sets for analysis and design of any object
-> oriented system.
OMT – Case study
A bank provides two types of accounts (Current A/C and Savings A/C) to its customers.
You are a customer of that bank having a Current A/C.
The bank has provided you with a ATM card using which you can carry out different
types of transactions like transfer, withdrawals, deposits and check balance on your account. Each
customer is allowed to have only one account with the bank (no joint accounts allowed).
You want to withdraw some cash from the account using your ATM card and also want
a receipt for the same. Draw the following diagrams for the above system using OMT notations.
a. Object diagram
Steps to Draw Object diagram :-
Step 1 : First identify the actors/entities/objects in the system and their behavior/method/functions
Step 2 : Identify sub-class super-class relationships if any.
a. Account – Current A/C and Saving A/C
b. Transactions – Deposits , Withdrawals, Transfers
Step 3 : Identify the associations between entities.
a. One customer one account.
b. One account many transactions
c. One customer one ATM card