[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655581-105":59,"doc-detail-655581-en":131,"doc-similar-655581":158},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","class-diagrams-lecture-1-class-diagram-with-uml-learning-objectives-associations-generalization-and-quality-checklist","Class Diagrams - Lecture 1 - Class Diagram with UML - Learning objectives, associations, generalization, and quality checklist","","Lecture 1 introduces class diagrams in the context of Software Engineering and Systems Analysis, focusing on how to represent the structure of a software system using UML. It explains learning objectives and core concepts such as classes versus objects, attributes versus operations, and visibility symbols. The lecture covers associations with multiplicity, roles and constraints, and three relationships: generalization, aggregation, and composition. It also provides a requirements-driven derivation method, highlights common modeling mistakes, presents an online bookstore example, and concludes with a quality checklist and a practice activity for course registration.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/class-diagrams-lecture-1-class-diagram-with-uml-learning-objectives-associations-generalization-and-quality-checklist/655581/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/class-diagrams-lecture-1-class-diagram-with-uml-learning-objectives-associations-generalization-and-quality-checklist/655581.png","ImageObject",300,407,{"name":92,"@type":93},"RizkyPratama_92","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-30","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",11,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is the purpose of a class diagram in analysis and design?","Question",{"text":113,"@type":114},"A class diagram provides a stable view of system vocabulary, data, and responsibilities. It helps reveal missing concepts and ambiguous relationships during analysis and bridges requirements to source code during design.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How do you distinguish a class from an object in UML?",{"text":118,"@type":114},"A class describes the shared structure and behavior of objects, while an object is a specific instance. For example, Book is a class, but a particular copy identified by a barcode is an object.",{"name":120,"@type":111,"acceptedAnswer":121},"How should associations and multiplicity be modeled in a class diagram?",{"text":122,"@type":114},"Use associations to connect instances of two classes and multiplicity to express how many instances participate in the relationship. Include role names and important constraints so the diagram reflects real business or design rules.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},655581,1793052253,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":81,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":39,"preview_page_count":81,"preview_urls":145},962094243231,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","1 Lecture 1: Class Diagrams  \nCourse: Software Engineering and Systems Analysis  \nTopic: Class Diagram with UML  \nRecommended duration: 90 minutes  \n1.1 Learning objectives  \nBy the end of this lecture, students should be able to explain what a class diagram represents, distinguish a class from an object, identify attributes and operations, model associations with multiplicity, and produce a readable class diagram from a short problem statement.  \n1.2 1. Overview  \nA class diagram is a structural model that describes the important types in a software system and the relationships among those types. It does not show the order of events. Instead, it provides a stable view of the system’s vocabulary, data, and responsibilities.  \nA class diagram is useful during analysis because it exposes missing concepts and ambiguous relationships before implementation begins. During design, it becomes a bridge between requirements and source code. The model should be detailed enough to communicate structure, but not so detailed that it merely duplicates every line of code.  \n1.3 2. Core concepts  \nA class is a description of objects that share structure and behavior. A class name identifies the concept. Attributes describe information held by an object. Operations describe behavior that the object offers. A typical class is written as a rectangle divided into three compartments:  \n| Customer |\n| --- |\n| - customerId: Integer\u003Cbr>- name: String\u003Cbr>- email: String |\n| register(): void\u003Cbr>updateEmail(): void |\n\nThe visibility symbols are commonly interpreted as follows: + means public, -means private, \\# means protected, and ~ means package visibility. Visibility is a design decision, so it should not be added mechanically when the model is still conceptual.  \n1.4 3. Associations and multiplicity  \nAn association states that instances of two classes are connected. Multiplicity describes how many instances may participate in the relationship. Common multiplicities include 1, 0..1, 0 . .*, and 1 . .* . For example, a customer may place many orders, while each order belongs to exactly one customer:  \nCustomer 1 ----------------0   * Order places  \nThe role names clarify the meaning of each end. A strong model also states important constraints, such as whether an order must contain at least one order line.  \n1.5 4. Generalization, aggregation, and composition  \nGeneralization represents an “is-a” relationship. If CreditCardPayment and CashPayment are specialized kinds of Payment, both may inherit common properties from Payment.  \nAggregation represents a whole–part relationship in which the part can conceptually exist independently. Composition is stronger: the lifetime of the part is controlled by the whole. An Order and its OrderLine objects are often modeled with composition because an order line has no useful identity outside its order. Use these relationships carefully. A relationship should express a business or design rule, not simply make the diagram look complete.  \n1.6 5. Deriving a diagram from requirements  \nStart by extracting candidate nouns and verbs from the requirements. Nouns may become classes or attributes. Verbs may become operations or associations. Then remove synonyms, implementation details, and concepts that have no responsibility in the system.  \nConsider the statement: “A library member searches the catalog, borrows books, and returns them. A loan records the borrowing date and the due date.” A reasonable first model contains Member, Book, Catalog, and Loan. The dates belong to Loan, not to Book, because the dates describe a particular borrowing event. The modeling process is iterative. Ask whether every class has a clear purpose, whether every relationship has a meaningful name, and whether multiplicities reflect the requirements. Validate the result with at least one realistic scenario.  \n1.7 6. Common mistakes  \nThe first common mistake is confusing a class with an instance. Book is a class, while “the copy with barcode ","cbCainUlgZU3LSUQ","https://ap.wps.com/l/cbCainUlgZU3LSUQ","pdf",65094,"English","# Lecture 1: Class Diagrams\n## Learning objectives\n## Overview\n## Core concepts\n## Associations and multiplicity\n## Generalization, aggregation, and composition\n## Deriving a diagram from requirements\n## Common mistakes\n## Worked example: online bookstore\n## Quality checklist\n## Practice activity","[{\"question\":\"What is the purpose of a class diagram in analysis and design?\",\"answer\":\"A class diagram provides a stable view of system vocabulary, data, and responsibilities. It helps reveal missing concepts and ambiguous relationships during analysis and bridges requirements to source code during design.\"},{\"question\":\"How do you distinguish a class from an object in UML?\",\"answer\":\"A class describes the shared structure and behavior of objects, while an object is a specific instance. For example, Book is a class, but a particular copy identified by a barcode is an object.\"},{\"question\":\"How should associations and multiplicity be modeled in a class diagram?\",\"answer\":\"Use associations to connect instances of two classes and multiplicity to express how many instances participate in the relationship. Include role names and important constraints so the diagram reflects real business or design rules.\"}]","Class Diagrams - Lecture 1 - Class Diagram with UML - Learning objectives, associations, generalization, and quality checklist | PDF",1792962722,[146,150,154],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e8e2761a40a4c41fae749e852b9c2dde.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/2b3915c83ee3cca0200c4cdcfacb26ba.webp",982,1388,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/ba0a698dcbfc26e6563af94a0d9382c9.webp",981,1387,{"list":159,"token":66},[160,167,173,179,185,192,198,204,210,216],{"doc_id":161,"doc_title":162,"file_type":138,"home_preview_img_url":163,"slug":164,"view_count":165,"category_name":30,"create_tm":166},655685,"Object-Oriented Software Engineering Practical Software Development using UML and Java - Chapter 5 - Lecture 5 - UML Class Diagrams and Associations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287730/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=MsE8FYE1yqJ0Zw5zrjuWjLaKumw%3D","object-oriented-software-engineering-practical-software-development-using-uml-and-java-chapter-5-lecture-5-uml-class-diagrams-and-associations",12,1792963269,{"doc_id":168,"doc_title":169,"file_type":138,"home_preview_img_url":170,"slug":171,"view_count":52,"category_name":30,"create_tm":172},655580,"Class Diagrams: The Essentials","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285558/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=CKiDsLwrhtoImFeUnexw%2F5YpaE8%3D","class-diagrams-the-essentials",1792962720,{"doc_id":174,"doc_title":175,"file_type":138,"home_preview_img_url":176,"slug":177,"view_count":44,"category_name":30,"create_tm":178},655771,"UML - Unified Modeling Language - Design and UML Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975289134/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=nlZJxTRkPuQ3pSF4muajBF%2Fy46I%3D","uml-unified-modeling-language-design-and-uml-diagrams",1792963662,{"doc_id":180,"doc_title":181,"file_type":138,"home_preview_img_url":182,"slug":183,"view_count":44,"category_name":30,"create_tm":184},655774,"Class Diagrams Lecture - 6","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975289187/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=cZRTABoSCeCdAwpm4GJWH%2Fj%2BXmo%3D","class-diagrams-lecture-6",1792963678,{"doc_id":186,"doc_title":187,"file_type":138,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":30,"create_tm":191},655638,"UML - Unified Modeling Language - Overview of Diagram Types and Class Diagram Notations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286461/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=iNP3EEdXuvn63pda2ArhCqPqQFo%3D","uml-unified-modeling-language-overview-of-diagram-types-and-class-diagram-notations",17,1792962971,{"doc_id":193,"doc_title":194,"file_type":138,"home_preview_img_url":195,"slug":196,"view_count":81,"category_name":30,"create_tm":197},678088,"A Tool for Efficiently Reverse Engineering Accurate UML Class Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229994558631/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=rizagJ6tkW%2FtA%2Bkhz4NVIQKlmTg%3D","a-tool-for-efficiently-reverse-engineering-accurate-uml-class-diagrams",1793783997,{"doc_id":199,"doc_title":200,"file_type":138,"home_preview_img_url":201,"slug":202,"view_count":29,"category_name":30,"create_tm":203},655772,"Class Diagram Relationships in UML with Examples - Learn How to Build Correct UML Class Diagram Relationships","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975289195/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=%2B4k6tDoEPiKxXjWqRwREdvsXBlI%3D","class-diagram-relationships-in-uml-with-examples-learn-how-to-build-correct-uml-class-diagram-relationships",1792963669,{"doc_id":205,"doc_title":206,"file_type":138,"home_preview_img_url":207,"slug":208,"view_count":39,"category_name":30,"create_tm":209},655555,"A Primer on UML Class Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285213/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=gm6u3Zg8TwefIfy3iiFncFng0GE%3D","a-primer-on-uml-class-diagrams",1792962619,{"doc_id":211,"doc_title":212,"file_type":138,"home_preview_img_url":213,"slug":214,"view_count":39,"category_name":30,"create_tm":215},656098,"Tutorial - Class Diagrams and Entity Relationship Diagrams (ERD)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975300171/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=qPGJvX1wEGAMZgBGVjzKoEZCUUU%3D","tutorial-class-diagrams-and-entity-relationship-diagrams-erd",1792966309,{"doc_id":217,"doc_title":218,"file_type":138,"home_preview_img_url":219,"slug":220,"view_count":29,"category_name":30,"create_tm":221},656101,"Class Diagrams and Entity Relationship Diagrams (ERD) - Create UML and ERD Structure Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975300346/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217359&Signature=%2BCFWuf2WS8d5pGFUthRX1sZovfI%3D","class-diagrams-and-entity-relationship-diagrams-erd-create-uml-and-erd-structure-models",1792966358]