{"id":6097,"date":"2022-05-26T03:28:07","date_gmt":"2022-05-26T03:28:07","guid":{"rendered":"https:\/\/www.booksofall.com\/in\/?post_type=product&#038;p=6097"},"modified":"2022-06-15T05:13:12","modified_gmt":"2022-06-15T05:13:12","slug":"composite-structure-and-component-diagrams","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/","title":{"rendered":"Composite Structure and Component Diagrams"},"content":{"rendered":"<h3>Composite Structure &amp; Component Diagrams<\/h3>\n<p>This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design. These diagrams are not better or worse than other UML diagrams you may have worked with, but they offer specialized views of a system that may better serve to express the concepts you are attempting to model.<\/p>\n<p>Composite Structure diagrams explore the internal organization of classes. It can be used to explicitly describe a class as a composition of other classes. The model can also show how the contained classes interact in the working implementation.<\/p>\n<p>Component diagrams allow modelers to provide a simplified, high-order view of of a large system. Classifying groups of classes into components supports the interchangeability and reuse of code. This diagram documents how these components are composed and how they interact in a system.<\/p>\n<h4 id=\"firstHeading\" class=\"firstHeading mw-first-heading\">Composite structure diagram<\/h4>\n<p><b>Composite structure diagram<\/b>\u00a0in the\u00a0<a title=\"Unified Modeling Language\" href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Modeling_Language\">Unified Modeling Language<\/a>\u00a0(UML) is a type of\u00a0<a class=\"mw-redirect\" title=\"Static structure diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Static_structure_diagram\">static structure diagram<\/a>, that shows the internal structure of a\u00a0<a class=\"mw-redirect\" title=\"Class (computer science)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Class_(computer_science)\">class<\/a>\u00a0and the\u00a0<i>collaborations<\/i>\u00a0that this structure makes possible.<\/p>\n<p>This diagram can include internal\u00a0<i>parts<\/i>,\u00a0<i>ports<\/i>\u00a0through which the parts interact with each other or through which instances of the class interact with the parts and with the outside world, and\u00a0<i>connectors<\/i>\u00a0between parts or ports. A\u00a0<i>composite structure<\/i>\u00a0is a set of interconnected elements that collaborate at runtime to achieve some purpose. Each element has some defined\u00a0<i>role<\/i>\u00a0in the collaboration.<\/p>\n<h5><span id=\"Concepts\" class=\"mw-headline\">Concepts<\/span><\/h5>\n<p>The key composite structure entities identified in the UML 2.0 specification are structured classifiers, parts, ports, connectors, and collaborations.<sup id=\"cite_ref-OMG_UML_V2.1.2_1-0\" class=\"reference\"><\/sup><\/p>\n<ul>\n<li>Part\u00a0: A\u00a0<i>part<\/i>\u00a0represents a role played at runtime by one instance of a\u00a0<a title=\"Classifier (UML)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Classifier_(UML)\">classifier<\/a>\u00a0or by a collection of\u00a0<a title=\"Object (computer science)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Object_(computer_science)\">instances<\/a>. The part may only name the role, it may name an abstract\u00a0<a class=\"mw-redirect\" title=\"Superclass (computer science)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Superclass_(computer_science)\">superclass<\/a>, or it may name a specific concrete class. The part can include a multiplicity factor, such as the [0..*] shown for Viewer in the diagram.<\/li>\n<li>Port\u00a0: A\u00a0<i>port<\/i>\u00a0is an interaction point that can be used to connect structured classifiers with their parts and with the environment. Ports can optionally specify the services they provide and the services they require from other parts of the system. In the diagram, each of the small squares is a port. Each port has a type and is labelled with a name, such as &#8220;var&#8221;, &#8220;indVar1&#8221;, or &#8220;view&#8221; in the diagram. Ports may contain a multiplicity factor, for example [3].<\/li>\n<\/ul>\n<dl>\n<dd>Ports can either delegate received requests to internal parts, or they can deliver these directly to the behavior of the structured classifier that the port is contained within. Public ports that are visible in the environment are shown straddling the boundary, while protected ports that are not visible in the environment are shown inside the boundary. All the ports in the diagram are public, except for the view port along the right boundary of FibonacciSystem.<\/dd>\n<\/dl>\n<ul>\n<li>Connector\u00a0: A\u00a0<i>connector<\/i>\u00a0binds two or more entities together, allowing them to interact at runtime. The connector is shown as a line between some combination of parts, ports and structured\u00a0<a title=\"Classifier (UML)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Classifier_(UML)\">classifiers<\/a>. The diagram shows three connectors between ports, and one connector between a structured classifier and a part.<\/li>\n<li>Collaboration\u00a0: A\u00a0<i>collaboration<\/i>\u00a0is generally more abstract than a structured classifier. It is shown as a dotted oval containing roles that instances can play in the collaboration.<\/li>\n<li>Structured classifier\u00a0: A\u00a0<i>StructuredClassifier<\/i>\u00a0represents a class, often an abstract class, whose behavior can be completely or partially described through interactions between parts.<\/li>\n<li>Encapsulated classifier\u00a0: An\u00a0<i>EncapsulatedClassifier<\/i>\u00a0is a type of structured classifier that contains ports. In the\u00a0<a title=\"Composite structure diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Composite_structure_diagram#Composite_structure_diagram_example\">diagram<\/a>\u00a0below, both FibonacciSystem and Variable are encapsulated classifiers because they both have ports along their boundaries.<\/li>\n<\/ul>\n<h4 id=\"firstHeading\" class=\"firstHeading mw-first-heading\">Component diagram<\/h4>\n<p>In\u00a0<a title=\"Unified Modeling Language\" href=\"https:\/\/en.wikipedia.org\/wiki\/Unified_Modeling_Language\">Unified Modeling Language<\/a>\u00a0(UML), a\u00a0<b>component diagram<\/b>\u00a0depicts how\u00a0<a title=\"Component (UML)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Component_(UML)\">components<\/a>\u00a0are wired together to form larger components or\u00a0<a title=\"Software system\" href=\"https:\/\/en.wikipedia.org\/wiki\/Software_system\">software systems<\/a>. They are used to illustrate the structure of arbitrarily complex systems.<\/p>\n<h5><span id=\"Overview\" class=\"mw-headline\">Overview<\/span><\/h5>\n<p>A component diagram allows verification that a system&#8217;s required functionality is acceptable. These diagrams are also used as a communication tool between the developer and stakeholders of the system. Programmers and developers use the diagrams to formalize a roadmap for the implementation, allowing for better decision-making about task assignment or needed skill improvements. System administrators can use component diagrams to plan ahead, using the view of the logical software components and their relationships on the system.<sup id=\"cite_ref-1\" class=\"reference\"><\/sup><\/p>\n<h5><span id=\"Diagram_elements\" class=\"mw-headline\">Diagram elements<\/span><\/h5>\n<p>The component diagram extends the information given in a component notation element. One way of illustrating the provided and required\u00a0<a class=\"mw-redirect\" title=\"Interface (computer science)\" href=\"https:\/\/en.wikipedia.org\/wiki\/Interface_(computer_science)\">interfaces<\/a>\u00a0by the specified component is in the form of a rectangular compartment attached to the component element. Another accepted way of presenting the interfaces is to use the\u00a0<a title=\"Class diagram\" href=\"https:\/\/en.wikipedia.org\/wiki\/Class_diagram#Realization\/Implementation\">ball-and-socket graphic convention<\/a>. A\u00a0<i>provided<\/i>\u00a0dependency from a component to an interface is illustrated with a solid line to the component using the interface from a &#8220;lollipop&#8221;, or ball, labelled with the name of the interface. A\u00a0<i>required<\/i>\u00a0usage dependency from a component to an interface is illustrated by a half-circle, or socket, labelled with the name of the interface, attached by a solid line to the component that requires this interface. Inherited interfaces may be shown with a lollipop, preceding the name label with a\u00a0<a class=\"mw-redirect\" title=\"Caret\" href=\"https:\/\/en.wikipedia.org\/wiki\/Caret\">caret<\/a>\u00a0symbol. To illustrate dependencies between the two, use a solid line with a plain arrowhead joining the socket to the lollipop.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 480px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/composite-structure-and-component-diagrams-ysbq1mkm?enforceShowPromotionBar=true\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":6192,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design."},"product_brand":[],"product_cat":[213],"product_tag":[201],"class_list":{"0":"post-6097","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-computer-uml","7":"product_tag-lecture-notes","9":"first","10":"instock","11":"shipping-taxable","12":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Composite Structure and Component Diagrams - BooksOffAll Indian<\/title>\n<meta name=\"description\" content=\"This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/\" \/>\n<meta property=\"og:locale\" content=\"hi_IN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Composite Structure and Component Diagrams - BooksOffAll Indian\" \/>\n<meta property=\"og:description\" content=\"This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOffAll Indian\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-15T05:13:12+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg\" \/>\n<meta name=\"twitter:label1\" content=\"\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 \u092e\u093f\u0928\u091f\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/\",\"url\":\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/\",\"name\":\"Composite Structure and Component Diagrams - BooksOffAll Indian\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg\",\"datePublished\":\"2022-05-26T03:28:07+00:00\",\"dateModified\":\"2022-06-15T05:13:12+00:00\",\"description\":\"This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#breadcrumb\"},\"inLanguage\":\"hi-IN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"hi-IN\",\"@id\":\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg\",\"width\":\"596\",\"height\":\"842\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/in\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/in\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Composite Structure and Component Diagrams\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#website\",\"url\":\"https:\/\/www.booksofall.com\/in\/\",\"name\":\"BooksOffAll Indian\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/in\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"hi-IN\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#organization\",\"name\":\"BooksOffAll Indian\",\"url\":\"https:\/\/www.booksofall.com\/in\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"hi-IN\",\"@id\":\"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOffAll Indian\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Composite Structure and Component Diagrams - BooksOffAll Indian","description":"This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/","og_locale":"hi_IN","og_type":"article","og_title":"Composite Structure and Component Diagrams - BooksOffAll Indian","og_description":"This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design.","og_url":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/","og_site_name":"BooksOffAll Indian","article_modified_time":"2022-06-15T05:13:12+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg","twitter_misc":{"\u0905\u0928\u0941\u092e\u093e\u0928\u093f\u0924 \u092a\u0922\u093c\u0928\u0947 \u0915\u093e \u0938\u092e\u092f":"4 \u092e\u093f\u0928\u091f"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/","url":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/","name":"Composite Structure and Component Diagrams - BooksOffAll Indian","isPartOf":{"@id":"https:\/\/www.booksofall.com\/in\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg","datePublished":"2022-05-26T03:28:07+00:00","dateModified":"2022-06-15T05:13:12+00:00","description":"This presentation will describe two diagrams defined in the UML 2.0 specification and explain their strengths in featuring some of the important aspects of Object-Oriented design.","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#breadcrumb"},"inLanguage":"hi-IN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/"]}]},{"@type":"ImageObject","inLanguage":"hi-IN","@id":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#primaryimage","url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg","contentUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/img_62a182c8c9ea2.jpeg","width":"596","height":"842"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/in\/composite-structure-and-component-diagrams\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/in\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/in\/categories\/"},{"@type":"ListItem","position":3,"name":"Composite Structure and Component Diagrams"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/in\/#website","url":"https:\/\/www.booksofall.com\/in\/","name":"BooksOffAll Indian","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/in\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/in\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"hi-IN"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/in\/#organization","name":"BooksOffAll Indian","url":"https:\/\/www.booksofall.com\/in\/","logo":{"@type":"ImageObject","inLanguage":"hi-IN","@id":"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/in\/wp-content\/uploads\/sites\/13\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOffAll Indian"},"image":{"@id":"https:\/\/www.booksofall.com\/in\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product\/6097","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/media\/6192"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/media?parent=6097"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_brand?post=6097"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_cat?post=6097"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/in\/wp-json\/wp\/v2\/product_tag?post=6097"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}