[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-656101-105":59,"doc-detail-656101-en":130},{"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":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","class-diagrams-and-entity-relationship-diagrams-erd-create-uml-and-erd-structure-models","Class Diagrams and Entity Relationship Diagrams (ERD) - Create UML and ERD Structure Models","","Class diagrams and entity relationship diagrams (ERDs) model system structure in different ways. Class diagrams describe both structural and behavioural aspects, while ERDs focus only on structural features to provide a static view. The material covers core elements such as classes, associations (binary, n-ary, aggregation, composition, generalization, dependency, realization, and association classes), attributes, and operations. It also provides step-by-step guidance for creating class diagrams and ERDs, including identifying entities/classes, finding relationships, drawing rough diagrams, defining multiplicity or cardinality, and adding keys and attributes.",{"@graph":69,"@context":122},[70,84,105],{"@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-and-entity-relationship-diagrams-erd-create-uml-and-erd-structure-models/656101/",{"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-and-entity-relationship-diagrams-erd-create-uml-and-erd-structure-models/656101.png","ImageObject",300,407,{"name":92,"@type":93},"RizkyPratama_92","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-29","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"How do class diagrams and ERDs differ in what they model?","Question",{"text":112,"@type":113},"Class diagrams capture both structural and behavioural features, while ERDs depict structural features only, giving a static view of the system.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are the main elements of a class diagram?",{"text":117,"@type":113},"A class diagram includes classes, associations, attributes, and operations, where classes define structural attributes and behavioural characteristics.",{"name":119,"@type":110,"acceptedAnswer":120},"What steps are involved in creating a class diagram?",{"text":121,"@type":113},"Identify classes, find associations, draw a rough diagram, fill in multiplicity, identify attributes, identify behaviours, then review and fine-tune for inconsistencies.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},656101,1793052253,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"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":145},962094243231,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","1 Class Diagrams and Entity Relationship Diagrams (ERD)  \nClass diagrams and ERDs both model the structure of a system. Class diagrams represent the dynamic aspects of a system: both the structural and behavioural features. ERDs, depicting only structural features provide a static view of the system.  \n2 Class Diagrams  \n2.1 Elements ofa class diagram:  \n2.1.1 class  \n\n| Class Name |\n| --- |\n|  |\n|  |\n\nA class is a general concept (represented as a square box) . A class defines the structural attributes and behavioural characteristics of that concept. Shown as a rectangle labeled with the class name.  \n2.1.2 association  \n\n| Class 1 | Association | Class 2 |\n| --- | --- | --- |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n\nA (semantic) relationship between classes. A line that joins two classes.  \n2.1.2.1 binary  \n\n| Person | Eats  | Food |\n| --- | --- | --- |\n|  |  |  |\n|  |  |  |\n|  |  |  |\n\nSimple association between two classes. A solid triangle with the association name indicates the direction in which the association is meant to be read.  \n2.1.2.2 n-ary  \n\n| Class 1 |\n| --- |\n|  |\n|  |\n\n| Class 2 |\n| --- |\n|  |\n|  |\n\nn-ary Association expresses an association between multiple classes  \n\n| Class 3 |\n| --- |\n|  |\n|  |\n\n2.1.2.3 Aggregation  \n\n| Team |\n| --- |\n|  |\n|  |\n\n| Member |\n| --- |\n|  |\n|  |\n\n“has-a” relationship  \n2.1.2.4 Composition  \n\n| Car |\n| --- |\n|  |\n|  |\n\n| Engine |\n| --- |\n|  |\n|  |\n\n2.1.2.5 Generalization  \n\n| Car |\n| --- |\n|  |\n|  |\n\n| Volvo |\n| --- |\n|  |\n|  |\n\n2.1.2.6 Dependency  \n\n| Project Manager |\n| --- |\n|  |\n|  |\n\n| Project |\n| --- |\n|  |\n|  |\n\n| Team |\n| --- |\n|  |\n|  |\n\n“is-composed-of” relationship  \n“is-a-kind-of” relationship  \nThe source class depends on (uses) the target class. (not used for requirements analysis)  \n2.1.2.7 Realization  \n\n| «datatype»\u003Cbr>Human Resources |\n| --- |\n|  |\n|  |\n\n| «datatype»\u003Cbr>Project Manager |\n| --- |\n|  |\n|  |\n\n| | Worker |\n| --- | --- |\n|  |  |\n|  |  |\n|  |  |\n| |  |\n\n\n| «datatype»\u003Cbr>System Administrator |\n| --- |\n|  |\n|  |\n\nClass supports all operations of target class but not all attributes or associations.(not used for requirements analysis)  \n2.1.2.8 Association Classes  \n\n| class 2 |\n| --- |\n|  |\n|  |\n\n\n| class 1 |\n| --- |\n|  |\n|  |\n\nAssociation Class  \nCan be applied to binary or n-ary associations. Used to capture the attributes of an association.  \n2.1.3 attribute  \n\n| class 1 |\n| --- |\n| -attribute 1\u003Cbr>-attribute 2\u003Cbr>-attribute 3 |\n|  |\n\n2.1.4 operation  \n\n| class 1 |\n| --- |\n| -attribute 1\u003Cbr>-attribute 2\u003Cbr>-attribute 3 |\n| +operation 1()\u003Cbr>+operation 2()\u003Cbr>+operation 3() |\n\nWhat is known about each object of this class type. Typical characteristics.  \nWhat objects of this class type do. Typical actions that are relevant to the current analysis.  \n3 Creating a Class Diagram  \nHere are some steps to help create a class diagram:  \n3.1 Identify Classes  \nThese are the abstract or physical “things” in our system which we wish to describe. Find all the nouns and noun phrases in the domain descriptions you have obtained through your analysis. Consider these class candidates.  \n3.2 Find Associations  \nNow find the verbs that join the nouns. e.g., The professor (noun) teaches (verb) students (noun) . The verb in this case, defines an association between the two nouns. Identify the type of association. Use a matrix to define the associations between classes.  \n3.3 Draw Rough Class Diagram  \nPut classes in rectangles and draw the associations connecting the classes.  \n3.4 Fill in Multiplicity  \nDetermine the number of occurrences of one class for a single occurrence of the associated class.  \n3.5 Identify Attributes  \nName the information details (fields) which are relevant to the application domain for each class.  \n3.6 Identify Behaviours  \nSpecify the operations that are required for each class. (assume getter and setter methods for each attribute.)  \n3.7 Review your diagram and fine tune it.  \nLook for inconsistencies and errors. Fix them. Make sure you have c","cbCaiou1QGLL2D9D","https://ap.wps.com/l/cbCaiou1QGLL2D9D","pdf",87276,14,"English","# Class Diagrams and Entity Relationship Diagrams (ERD)\n## Class Diagrams\n## Creating a Class Diagram\n## Entity Relationship Diagrams\n## Creating an ERD","[{\"question\":\"How do class diagrams and ERDs differ in what they model?\",\"answer\":\"Class diagrams capture both structural and behavioural features, while ERDs depict structural features only, giving a static view of the system.\"},{\"question\":\"What are the main elements of a class diagram?\",\"answer\":\"A class diagram includes classes, associations, attributes, and operations, where classes define structural attributes and behavioural characteristics.\"},{\"question\":\"What steps are involved in creating a class diagram?\",\"answer\":\"Identify classes, find associations, draw a rough diagram, fill in multiplicity, identify attributes, identify behaviours, then review and fine-tune for inconsistencies.\"}]","Class Diagrams and Entity Relationship Diagrams (ERD) - Create UML and ERD Structure Models | PDF",1792966358,35]