[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655678-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655678-en":130,"doc-similar-655678":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","l20-design-uml-course-lecture-notes","L20 Design UML - Course Lecture Notes","","Unified Modeling Language (UML) is introduced as a graphic modeling approach used to design software systems before implementation. The material reviews the software development lifecycle and the waterfall model, then explains why UML supports communication between analysts, customers, and engineering teams. It outlines key UML diagram purposes, especially class diagrams and database modeling, and connects UML usage with core software design principles such as encapsulation, cohesion, OCP, DRY, SRP, and LSP.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/l20-design-uml-course-lecture-notes/655678/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/l20-design-uml-course-lecture-notes/655678.png","ImageObject",300,407,{"name":42,"@type":43},"Ben ","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-25","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",8,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"How does UML relate to the software development lifecycle?","Question",{"text":63,"@type":64},"UML is used for software design before coding, fitting into the design phase of the software development lifecycle (including the waterfall model).","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What makes class diagrams important in UML?",{"text":68,"@type":64},"UML class diagrams are a subset suitable for conceptual modeling of classes and for database-related modeling tasks such as mapping to ER-style concepts.",{"name":70,"@type":61,"acceptedAnswer":71},"Which software design principles are covered and what is their goal?",{"text":72,"@type":64},"The notes cover encapsulation, cohesion, and principles including OCP (open for extension), DRY (avoid repetition), SRP (single responsibility), and LSP (substitutability for inheritance) to improve maintainability, flexibility, and correctness.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655678,1793030105,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,105,110,114,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":103,"slug":104},6,50,"technology",{"id":106,"doc_module":4,"doc_module_name":25,"category_name":107,"show_sort_weight":108,"slug":109},7,"Healthcare",40,"healthcare",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":111,"show_sort_weight":112,"slug":113},"Research & Report",30,"research-report",{"id":115,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},9,"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":102,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},2336478951081,"https://ap-avatar.wpscdn.com/davatar_276721f389ce27ea32af1340a28f341c","Software Design using the Unified Modeling Language (UML)  \nPaul Fodor  \nCSE316: Fundamentals of Software  \nDevelopment  \nStony Brook University  \n[http://www.cs.stonybrook.edu/](http://www.cs.stonybrook.edu/) ~cse316  \nSoftware Development Lifecycle  \n􀁹 Remember theWaterfall Model:  \nDesign, then code UML is used for software design  \n2  \n(c) Pearson Education Inc. and Paul Fodor (CS Stony Brook)  \n| Design Principles for Software Engineering\u003Cbr>􀁹 Software/System Design: design, then code\u003Cbr>􀁹 Separate phase in the Software Engineering Software Lifetime:\u003Cbr>􀁹 Use basic OO principles like encapsulation and inheritance to make your software more reusable, flexible, easier to maintain.\u003Cbr>􀁹 Make sure each of your classes is cohesive: Each class should do ONE THING and do it well\u003Cbr>􀁹 Review your design many times before your start coding\u003Cbr>􀁹 If a design is bad, then CHANGE IT!\u003Cbr>􀁹 Sometimes you might have to scrap all code and restart\u003Cbr>o Don't be afraid to do it. It will save you time and lead to a better implementation. |  |\n| --- | --- |\n| \u003Cbr>3 | (c) Pearson Education Inc. and Paul Fodor (CS Stony Brook) |\n\n\n| Unified Modeling Language (UML)\u003Cbr>􀁹 UML unifies a number of visual design methodologies in software engineering, business modeling and management, database design, and others.\u003Cbr>􀁹 UML Class diagrams are a subset of UML that is suitable for conceptual modeling of classes and databases\u003Cbr>􀁹 Most used type of UML diagrams\u003Cbr>􀁹 UML is also a graphic language for modeling dynamic aspects of a systems behavior\u003Cbr>􀁹 Because UML is graphic it is particularly appropriate for communicating between the analyst and the customer and between various members of the implementation team |  |\n| --- | --- |\n| \u003Cbr>4 | (c) Pearson Education Inc. and Paul Fodor (CS Stony Brook) |\n\nDesign Principles for Software Engineering  \n􀁹 We covered UML Class Diagrams with Databases ER diagrams, but there are some details that we should address about design:  \n􀁹 Design Principles:  \n􀁹 Encapsulate classes for 2 reasons:  \n􀁹 show only the simplified public API  \no Classes are about behavior and functionality  \n􀁹 hide the gory details  \n􀁹 Code to an Interface!  \n􀁹 Standardization of interaction for all members of a collection of classes.  \n􀁹 Never delete functionality from a class because users of that class will not update their way of interacting with that class  \n􀁹 If you need to change a class, you can add behavior, not remove it  \n5  \n(c) Pearson Education Inc. and Paul Fodor (CS Stony Brook)  \n| Design\u003Cbr>􀁹 The Principles of Software Design:\u003Cbr>􀁹OCP – Open to extension, closed to modification\u003Cbr>􀁹DRY – Don’t RepeatYourself\u003Cbr>􀁹SRP – Single Responsibility Principle\u003Cbr>􀁹LSP – Liskov Substitution Principle for OO inheritance |  |\n| --- | --- |\n| \u003Cbr>6 | (c) Pearson Education Inc. and Paul Fodor (CS Stony Brook) |\n\n\n| Design\u003Cbr>􀁹 OCP – Open to extension, closed to modification\u003Cbr>􀁹 Once functionality is established, coded, and working, the method should not be changed (closed to modification)\u003Cbr>􀁹 Methods should be allowed to be extended (open for extension) to:\u003Cbr>􀁹 handle cases where behavior must be different\u003Cbr>􀁹 Use subclasses\u003Cbr>􀁹 Subclass method can also reuse parent method code by calling it |  |\n| --- | --- |\n| \u003Cbr>7 | (c) Pearson Education Inc. and Paul Fodor (CS Stony Brook) |\n\n\n| Design\u003Cbr>􀁹 DRY – Don’t RepeatYourself\u003Cbr>􀁹Do not have duplicate functionality in different methods or classes (that are not inherited)\u003Cbr>􀁹Move 1 copy of the class to a place where it can be accessed by everyone\u003Cbr>􀁹 Improves ‘Maintainability’ |  |\n| --- | --- |\n| \u003Cbr>8 | (c) Pearson Education Inc. and Paul Fodor (CS Stony Brook) |\n\n\n| Design\u003Cbr>􀁹 SRP – Single Responsibility Principle\u003Cbr>􀁹 Every object should have a Single responsibility\u003Cbr>􀁹All contained services should be focused on that responsibility |  |\n| --- | --- |\n| \u003Cbr>9 | (c) Pearson Education Inc. and Paul Fodor (CS Stony Brook) |\n\nDesign  \n􀁹 LSP – Liskov Substitution Principle  \n􀁹 Make sure a subc","cbCaisiLuDkG5vfX","https://ap.wps.com/l/cbCaisiLuDkG5vfX","pdf",847076,32,"English","# Software Development Lifecycle\n## Waterfall Model and UML in Design\n# Unified Modeling Language (UML)\n## UML purpose and class diagrams\n# Design Principles for Software Engineering\n## Encapsulation and coding to an interface\n## OCP, DRY, SRP, and LSP","[{\"question\":\"How does UML relate to the software development lifecycle?\",\"answer\":\"UML is used for software design before coding, fitting into the design phase of the software development lifecycle (including the waterfall model).\"},{\"question\":\"What makes class diagrams important in UML?\",\"answer\":\"UML class diagrams are a subset suitable for conceptual modeling of classes and for database-related modeling tasks such as mapping to ER-style concepts.\"},{\"question\":\"Which software design principles are covered and what is their goal?\",\"answer\":\"The notes cover encapsulation, cohesion, and principles including OCP (open for extension), DRY (avoid repetition), SRP (single responsibility), and LSP (substitutability for inheritance) to improve maintainability, flexibility, and correctness.\"}]","L20 Design UML - Course Lecture Notes | PDF",1792963176,81,[147,151,154,158],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/0f4d22460313099a19439f84a5808efe.webp",983,736,{"page_no":26,"url":152,"width":153,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/c41e86b1a06b7080d108226bee7a42f7.webp",982,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/471f1ef246af3678862255c37b8cb8a5.webp",981,735,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/4198744b61b94a1c96660f75d313c085.webp",980,734,{"list":163,"token":11},[164,170,176,182,189,195,201,208,214,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":106,"category_name":29,"create_tm":169},655754,"UML - Class Diagram Basics - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975288726/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=U5YxGL3vlKkaXIrztS7veIGqIwg%3D","uml-class-diagram-basics-overview",1792963562,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":123,"category_name":29,"create_tm":175},655780,"Introduction to UML - Lecture 1 - Course Information - Aims and Objectives","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975289640/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=qg%2BFHC5oiI2ZNpmGHAhxmslmIts%3D","introduction-to-uml-lecture-1-course-information-aims-and-objectives",1792963738,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":115,"category_name":29,"create_tm":181},655614,"Chapter 1.4 - Other resources on course web page - Object-Oriented Design and UML Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286126/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=MwV%2BhqKcoJdztJ3D%2BnRixS1eq9M%3D","chapter-14-other-resources-on-course-web-page-object-oriented-design-and-uml-overview",1792962877,{"doc_id":183,"doc_title":184,"file_type":137,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":29,"create_tm":188},655924,"UML Tutorial - UML 2.0 - Activity Diagram Elements","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294428/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=LjRf1wjorD3kzSNayS%2B5DwJunCA%3D","uml-tutorial-uml-20-activity-diagram-elements",11,1792964948,{"doc_id":190,"doc_title":191,"file_type":137,"home_preview_img_url":192,"slug":193,"view_count":115,"category_name":29,"create_tm":194},655788,"Practical UML - A Hands-On Introduction for Developers - Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974777074/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=%2BS%2BkNGL%2B41iayCtkoZaBe7%2FAjjc%3D","practical-uml-a-hands-on-introduction-for-developers-tutorial",1792963781,{"doc_id":196,"doc_title":197,"file_type":137,"home_preview_img_url":198,"slug":199,"view_count":115,"category_name":29,"create_tm":200},655640,"CS350 Introduction to Software Engineering - UML","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286510/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=C39i9n5q2%2Fwtz1s8IGpsiR1OCJE%3D","cs350-introduction-to-software-engineering-uml",1792962984,{"doc_id":202,"doc_title":203,"file_type":137,"home_preview_img_url":204,"slug":205,"view_count":206,"category_name":29,"create_tm":207},655611,"Software Engineering I - UML Lecture - Introduction to UML and UML Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286119/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=Jp67aSJe8v%2F74u7LNPRJrNSdZ40%3D","software-engineering-i-uml-lecture-introduction-to-uml-and-uml-diagrams",15,1792962869,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":187,"category_name":29,"create_tm":213},655926,"UML Diagrams Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974780447/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=wdaDw0Vocxg04Wuy4k3FAyKVjEc%3D","uml-diagrams-overview",1792964953,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":187,"category_name":29,"create_tm":219},655607,"UML Slides Final - 1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286108/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=WCa1lBG5X91kSRa7Jj%2FCiLVJ5Cw%3D","uml-slides-final-1",1792962860,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":225,"category_name":29,"create_tm":226},655606,"Chapter 2 Modeling with UML - UML Concepts and Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286106/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111279&Signature=Q8n%2FwRxfzenj83TOXyD9DI24%2FYw%3D","chapter-2-modeling-with-uml-uml-concepts-and-diagrams",14,1792962856]