{"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 class=\"wp-block-paragraph\">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 class=\"wp-block-paragraph\"><\/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,"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":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"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 from the extension use case back to the\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"google-site-verification\" content=\"NqGM1EW5NqqJSsjJx_uj_J4Swe9xc6Lmzz5JITv_keM\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/ropley.com\/?page_id=25863\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ropley.com - Company site for Ropley IT Ltd\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Extension in UML - ropley.com\" \/>\n\t\t<meta property=\"og:description\" content=\"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 from the extension use case back to the\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/ropley.com\/?page_id=25863\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2021-10-29T08:58:02+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-10-29T09:02:04+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Extension in UML - ropley.com\" \/>\n\t\t<meta name=\"twitter:description\" content=\"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 from the extension use case back to the\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ropley.com\\\/?page_id=25863#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ropley.com#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ropley.com\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ropley.com\\\/?page_id=25863#listItem\",\"name\":\"Extension in UML\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ropley.com\\\/?page_id=25863#listItem\",\"position\":2,\"name\":\"Extension in UML\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/ropley.com#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/ropley.com\\\/#organization\",\"name\":\"ropley.com\",\"description\":\"Company site for Ropley IT Ltd\",\"url\":\"https:\\\/\\\/ropley.com\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ropley.com\\\/?page_id=25863#webpage\",\"url\":\"https:\\\/\\\/ropley.com\\\/?page_id=25863\",\"name\":\"Extension in UML - ropley.com\",\"description\":\"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 from the extension use case back to the\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ropley.com\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ropley.com\\\/?page_id=25863#breadcrumblist\"},\"datePublished\":\"2021-10-29T08:58:02+00:00\",\"dateModified\":\"2021-10-29T09:02:04+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ropley.com\\\/#website\",\"url\":\"https:\\\/\\\/ropley.com\\\/\",\"name\":\"ropley.com\",\"description\":\"Company site for Ropley IT Ltd\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/ropley.com\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Extension in UML - ropley.com","description":"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 from the extension use case back to the","canonical_url":"https:\/\/ropley.com\/?page_id=25863","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"NqGM1EW5NqqJSsjJx_uj_J4Swe9xc6Lmzz5JITv_keM","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/ropley.com\/?page_id=25863#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/ropley.com#listItem","position":1,"name":"Home","item":"https:\/\/ropley.com","nextItem":{"@type":"ListItem","@id":"https:\/\/ropley.com\/?page_id=25863#listItem","name":"Extension in UML"}},{"@type":"ListItem","@id":"https:\/\/ropley.com\/?page_id=25863#listItem","position":2,"name":"Extension in UML","previousItem":{"@type":"ListItem","@id":"https:\/\/ropley.com#listItem","name":"Home"}}]},{"@type":"Organization","@id":"https:\/\/ropley.com\/#organization","name":"ropley.com","description":"Company site for Ropley IT Ltd","url":"https:\/\/ropley.com\/"},{"@type":"WebPage","@id":"https:\/\/ropley.com\/?page_id=25863#webpage","url":"https:\/\/ropley.com\/?page_id=25863","name":"Extension in UML - ropley.com","description":"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 from the extension use case back to the","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/ropley.com\/#website"},"breadcrumb":{"@id":"https:\/\/ropley.com\/?page_id=25863#breadcrumblist"},"datePublished":"2021-10-29T08:58:02+00:00","dateModified":"2021-10-29T09:02:04+00:00"},{"@type":"WebSite","@id":"https:\/\/ropley.com\/#website","url":"https:\/\/ropley.com\/","name":"ropley.com","description":"Company site for Ropley IT Ltd","inLanguage":"en-US","publisher":{"@id":"https:\/\/ropley.com\/#organization"}}]},"og:locale":"en_US","og:site_name":"ropley.com - Company site for Ropley IT Ltd","og:type":"article","og:title":"Extension in UML - ropley.com","og:description":"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 from the extension use case back to the","og:url":"https:\/\/ropley.com\/?page_id=25863","article:published_time":"2021-10-29T08:58:02+00:00","article:modified_time":"2021-10-29T09:02:04+00:00","twitter:card":"summary_large_image","twitter:title":"Extension in UML - ropley.com","twitter:description":"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 from the extension use case back to the"},"aioseo_meta_data":{"post_id":"25863","title":"#post_title #separator_sa #site_title","description":"#post_content","keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":{"id":"aioseo-web-page-63ab1565316b1","slug":"web-page","graphName":"WebPage","label":"Web Page","properties":{"type":"WebPage","name":"","description":""}}},"graphName":"WebPage","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2021-10-29 08:58:03","updated":"2025-08-30 10:39:22","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/ropley.com\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tExtension in UML\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/ropley.com"},{"label":"Extension in UML","link":"https:\/\/ropley.com\/?page_id=25863"}],"_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}]}}