{"id":25863,"date":"2021-10-29T08:58:02","date_gmt":"2021-10-29T08:58:02","guid":{"rendered":"https:\/\/ropley.com\/?page_id=25863"},"modified":"2021-10-29T09:02:04","modified_gmt":"2021-10-29T09:02:04","slug":"extension-in-uml","status":"publish","type":"page","link":"https:\/\/ropley.com\/?page_id=25863","title":{"rendered":"Extension in UML"},"content":{"rendered":"\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Extension in UML<\/h2>\n\n\n\n<p>Like the include relationship, the extension relationship is drawn on a UML use case diagram as a dashed dependency arrow between the main use case and the optional extension use case. Howevver, on first sight the direction of the arrow seems unintuitive. It is actually drawn&nbsp;<em>from<\/em>&nbsp;the extension use case back to the parent use case that it extends. The dashed arrow is labelled with the stereotype &lt;&lt;extend&gt;&gt; to indicate that the use case at the back of the arrow extends the main use case beyond the arrow head. Our vending machine example is shown in the diagram below. Note how we have assumed that all transactions may wish to request a receipt, hence the extension is applied to taking payment rather than the specific purchases themselves:<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"670\" height=\"190\" src=\"https:\/\/ropley.com\/wp-content\/uploads\/2021\/10\/UCExtend.png\" alt=\"\" class=\"wp-image-25864\" srcset=\"https:\/\/ropley.com\/wp-content\/uploads\/2021\/10\/UCExtend.png 670w, https:\/\/ropley.com\/wp-content\/uploads\/2021\/10\/UCExtend-300x85.png 300w\" sizes=\"auto, (max-width: 670px) 100vw, 670px\" \/><\/figure><\/div>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Extension in UML Like the include relationship, the extension relationship is drawn on a UML use case diagram as a dashed dependency arrow between the main use case and the optional extension use case. Howevver, on first sight the direction of the arrow seems unintuitive. It is actually drawn&nbsp;from&nbsp;the extension use case back to the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"site-sidebar-layout":"no-sidebar","site-content-layout":"plain-container","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"disabled","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"disabled","site-post-title":"disabled","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"disabled","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-25863","page","type-page","status-publish","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ropley.com\/index.php?rest_route=\/wp\/v2\/pages\/25863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ropley.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ropley.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ropley.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ropley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25863"}],"version-history":[{"count":1,"href":"https:\/\/ropley.com\/index.php?rest_route=\/wp\/v2\/pages\/25863\/revisions"}],"predecessor-version":[{"id":25866,"href":"https:\/\/ropley.com\/index.php?rest_route=\/wp\/v2\/pages\/25863\/revisions\/25866"}],"wp:attachment":[{"href":"https:\/\/ropley.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}