

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Software Engineering one of core subject in Computer Science. This lecture was delived by Dr. Shrya Gopal at Bengal Engineering and Science University as one of lecture from lecture series on course. This lecture includes: Object-oriented, Design, Implementation, Requirements, Specification, Attributes, Idnetification, Candidate, Relation, Class, Members
Typology: Slides
1 / 25
This page cannot be seen from the preview
Don't miss anything!


















Object-Oriented Design II
docsity.com
Your will have three presentations this semester Everybody in the team should present at least once
docsity.com
Remember the definitions. Example: Consistency between two players of a board game
docsity.com
Given a real-life system, how do you decide what classes to use?
docsity.com
The library contains books and journals. It may have several copies of a given book. Some of the books are reserved for short-term loans only. All others may be borrowed by any library member for three weeks. Members of the library can normally borrow up to six items at a time, but members of staff may borrow up to 12 items at one time. Only members of staff may borrow journals. The system must keep track of when books and journals are borrowed and returned and enforce the rules. docsity.com
Library the name of the system Book Journal Copy ShortTermLoan event LibraryMember Week measure MemberOfLibrary repeat Item book or journal Time abstract term MemberOfStaff System general term Rule general term docsity.com
LibraryMember borrows Copy
LibraryMember returns Copy
MemberOfStaff borrows Journal
MemberOfStaff returns Journal
Item not needed yet.
docsity.com
MemberOfStaff
Journal Copy is a copy of Book 1..* 1
LibraryMember
on loan^ on loan
docsity.com
RetailStore
Warehouse
Order
Invoice
Product
Shipment
Merchant
docsity.com
Warehouse Order
Invoice
Product
RetailStore^ Merchant
name address contactInfo financialInfo
Shipment
Responsibilities -track status of shipped products Reversals damaged() return() wrongItem()
responsibility (text field)
docsity.com
Shipment
Invoice invoiceNumber +goodsShipped() -sendInvoice()
goodsShipped PartsList _adornments
- private
??? RetailStore invoiceRecord
docsity.com
Design is empirical. There is no single correct design. During the design process:
The diagram is not the whole design. Diagrams must be backed up with specifications.
docsity.com
HelloWorld.class
hello.java
hello.hml
hello.jpg
executable component
docsity.com
Borrow book
BookBorrower
docsity.com