Lec 5

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 7

How to Develop a Class Diagram

For a given system description


• nouns -> classes
• verb between nouns -> association
• similarity, category, type, kind ->
generalization/inheritance
• characteristics/attributes -> data members
• operations/features -> functions
Library Management System
• books, dvd’s, members, ...
• loans, returns, fine, etc
• member, librarian, desk-clerks
• ....
Association Classes
Is-A Rule
Note
• Class name should be singular
• Class name is always a noun
• The name of association is a verb (phrase)

• Star-UML
Quiz 1
• Wednesday

You might also like