Beruflich Dokumente
Kultur Dokumente
Diagrams
Problem definition
Developing a Library Checkout System
Elimination criteria
Applying criteria
Redundant classes: System, Member
Irrelevant classes: You, Code, Library Card
Classes represents attributes: Item Number,
Book Status, Video Status, Title, Author,
Membership Number, Due Date
Operation class: Checkout Duties
Classes describe roles: Borrower, Borrower
Book and Borrower Video, Overdue Book
and Overdue Video
In such a way, after applying elimination
criteria, remaining classes will come in class
diagram.
Several attributes will also been identified
during this process.
c) Fusion method
In Object oriented Development, coleman
E. g. of Developing a stock-Trading
System cont...
E. g. of Developing a stock-Trading
System cont...
Following are abstraction from Shlaer
and Mellor methods:
Tangible things: Account, Order, stock
Roles: Customer, Service representative
Events: Stock Transfer, Cash Transfer
Interactions: Match (of orders)
E. g. of Developing a stock-Trading
System cont...
Considering Accountit's state information is as follows:
An account number
A cash portfolio
A stock portfolio
A customer
E. g. of Developing a stock-Trading
System cont...
E. g. of Developing a stock-Trading
System cont...
Considering Orderit's state information is as follows:
An order number
A type
A status
A stock name
A number of shares
A requested prize
An optional expiration time
A reference to account
E. g. of Developing a stock-Trading
System cont...
E. g. of Developing a stock-Trading
System cont...
Considering Service Representative
E. g. of Developing a stock-Trading
System cont...
Considering abstraction stock and
match
E. g. of Developing a stock-Trading
System cont...
<<uses>>
Comparing, Combining
Approaches and Enhancing
Benefits and drawbacks of above
three phrases
Combining the three approaches
Enhancing a model with
specification.