[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655634-105":59,"doc-detail-655634-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","umlclassdiagrams-class-diagram","UMLclassdiagrams - Class diagram","","UML Basics Part III explains the purpose and correct use of UML class diagrams, emphasizing how they represent the static structure of a modeled system through entity types, attributes, and operations. It contrasts static modeling with instance-level details, then introduces the UML class notation with a three-compartment rectangle and walks through a practical airline Flight example. The article covers attribute formatting, including attribute names, types, and how to express default values using UML notation.",{"@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/umlclassdiagrams-class-diagram/655634/",{"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/umlclassdiagrams-class-diagram/655634.png","ImageObject",300,407,{"name":92,"@type":93},"Mia  ","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-30","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":29},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What does a UML class diagram primarily show?","Question",{"text":112,"@type":113},"It shows the static structure of the system being modeled, including entity types, each entity’s internal structure, and relationships. It models types rather than specific instances.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How is a UML class represented in the notation described here?",{"text":117,"@type":113},"A class diagram represents a class as a rectangle divided into three stacked compartments: the class name, the attributes list, and the operations list.",{"name":119,"@type":110,"acceptedAnswer":120},"What is the required format for listing class attributes?",{"text":121,"@type":113},"Each attribute line uses the format name : attribute type, for example flightNumber : Integer.","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},655634,1793051281,{"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":29,"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},687207024478,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","UML basics  \nPart III: The class diagram  \nby Donald Bell  \nIBM Global Services  \nIn June 2003, I began a series of articles titled \"UML Basics,\" designed as an introduction to the Unified Modeling Language. The first article in this series provided high-level introductions to the most widely used diagrams in the UML; the second  article offered an in-depth look at the activity diagram.  \nIn this third article, I will focus on the class diagram. Although almost every UML-knowledgeable person claims to  \nunderstand this diagram, very few actually know the diagram's proper notation set and consequently do not know how to use the diagram. The discussion that follows should enable you to understand and draw a proper class diagram using the UML v1.4 notation set.  \nThis article assumes you have a rudimentary understanding of objectoriented design. For those of you who need a little assistance with OO concepts, you might try the Sun brief tutorial about Object Oriented Programming at [http://java.sun. com/docs/books/tutorial/java/concepts/](http://java.sun. com/docs/books/tutorial/java/concepts/)  . Reading the sections \"What Is a Class?\" and \"What Is Inheritance?\" should give you enough understanding to read this article. In addition, David Taylor's book, Object-oriented Technologies: A Manager's Guide, offers an excellent, high-level explanation of object-oriented design without requiring an in-depth understanding of computer programming.  \n[Editor's note: In Ben Lieberman's article \"The art of modeling, Part II,\"also published in this issue (November 2003), Lieberman uses the word element to refer to \"the things that make up a model's contents. \" Donald Bell uses the word entity to refer to the same things. In editing their  \nrespective articles, I saw no reason to insist that both writers use the same word.]  \nThe class diagram's purpose  \nThe purpose of the class diagram is to show the static structure of the system being modeled. The diagram specifically shows the entities in the system--and I literally mean entities, as in \"discrete things,\" not to be confused with \"database entities\" --along with each entity's internal structure and relationships with other entities in the system. Because class diagrams only model the static structure of a system, only types of entities are shown on a class diagram; specific instances are not shown. For example, a class diagram would show an Employee class, but would not show actual employee instances such as Donald Bell, Mike Perrow, or Jimmy Buffett.  \nDevelopers typically think of the class diagram as a diagram specifically meant for them, because they can use it to find out details about the system's coded classes or soon-to-be-coded classes, along with each class's attributes and methods.  \nClass diagrams are particularly useful for business modeling, too. Business analysts can use class diagrams to model a business's current assets and resources, such as account ledgers, products, or geographic hierarchy.  \nThe notation  \nAs mentioned earlier, a class diagram models the static structure of entities. But for the next section of this article, The basics, you can think of entities as the same thing as classes. That's an oversimplification, but for now it will make things easier to understand. When you get to the Beyond the basics section, you will be ready for the fuller, more complex explanation of entities.  \nThe basics  \nModeling the static structure of classes, the class diagram shows each class's internal structure along with the relationship that the class has to other classes.  \nThe UML representation of a class--a class diagram--is a rectangle containing three compartments stacked vertically. The top compartment shows the class's name. The middle compartment lists the class's attributes. The bottom compartment lists the class's operations. Figure 1 offers a simple example of a class diagram.  \nFigure 1: A generic class diagram showing a single class  \nNow let's look at a real-worl","cbCailYN6J5hkdVo","https://ap.wps.com/l/cbCailYN6J5hkdVo","pdf",188372,13,"English","# The class diagram's purpose\n# The notation\n# The basics\n# The class's attribute list\n## Showing a default value for attributes","[{\"question\":\"What does a UML class diagram primarily show?\",\"answer\":\"It shows the static structure of the system being modeled, including entity types, each entity’s internal structure, and relationships. It models types rather than specific instances.\"},{\"question\":\"How is a UML class represented in the notation described here?\",\"answer\":\"A class diagram represents a class as a rectangle divided into three stacked compartments: the class name, the attributes list, and the operations list.\"},{\"question\":\"What is the required format for listing class attributes?\",\"answer\":\"Each attribute line uses the format name : attribute type, for example flightNumber : Integer.\"}]","UMLclassdiagrams - Class diagram | PDF",1792962958,33]