Share to: share facebook share twitter share wa share telegram print page

Stereotype (UML)

A stereotype is one of three types of extensibility mechanisms in the Unified Modeling Language (UML), the other two being tags and constraints.[1]: 73  They allow designers to extend the vocabulary of UML in order to create new model elements, derived from existing ones, but that have specific properties that are suitable for a particular domain or otherwise specialized usage. The nomenclature is derived from the original meaning of stereotype, used in printing. For example, when modeling a network you might need to have symbols for representing routers and hubs. By using stereotyped nodes you can make these things appear as primitive building blocks.

Graphically, a stereotype is rendered as a name enclosed by guillemets (« » or, if guillemets proper are unavailable, << >>) and placed above the name of another element.[1]: 73  In addition or alternatively it may be indicated by a specific icon. The icon image may even replace the entire UML symbol. For instance, in a class diagram stereotypes can be used to

  1. classify method behavior, e.g. with «constructor» and «getter» and
  2. refine the classifier itself, e.g. with «interface».[2]

One alternative to stereotypes, suggested by Peter Coad in his book Java Modeling in Color with UML: Enterprise Components and Process is the use of colored archetypes. The archetypes indicated by different-colored UML boxes can be used in combination with stereotypes. This added definition of meaning indicates the role that the UML object plays within the larger software system.

Stereotype attributes

From version 2.0 the previously independent tagged value is considered to be a stereotype attribute. The name tagged value is still kept. Each stereotype has zero or more tag definitions, and all stereotyped UML elements have the corresponding number of tagged values.

UML-defined stereotypes

Become

In UML, become is a keyword for a specific UML stereotype, and applies to a dependency (modeled as a dashed arrow). Become shows that the source modeling element (the arrow's tail) is transformed into the target modeling element (the arrow's head), while keeping some sort of identity, even though it may have changed values, state, or even class.

While UML 2.1 uses the «become» stereotype within the specification, it does not define it.

Examples

For example, three are used in the Entity-Control-Boundary pattern (ECB or BCE pattern) and four in the robustness diagram (Boundary, Control, Entity and Actor).

Control Class
Boundary Class
Entity Class
Actor
Access Class


See also

References

  1. ^ a b Booch, Grady; Rumbaugh, James; Jacobson, Ivar (2005). The unified modeling language user guide: covers UML 2.0. The Addison-Wesley object technologies series (2 ed.). Upper Saddle River, NJ Munich: Addison-Wesley. ISBN 978-0-321-26797-9.
  2. ^ Object Management Group, OMG® Unified Modeling Language® (OMG UML®), v2.5.1, p. 170, December 2017.

Read other articles:

Halaman buku Christiern Pedersen: Danorum Regum heroumque Historia, Paris 1514. Dari buku Apoteker Sibbernsens Saxobog, Reitzels Forlag, Kopenhagen Gesta Danorum (dalam bahasa Latin: Gesta Danorum atau Historia Danica) merupakan sebuah karya sejarahwan abad pertengahan Saxo Grammaticus, yang diterbitkan pada tahun 1200 di biara Sorø. Buku ini adalah buku Denmark pertama yang memiliki pengaruh besar dalam historiografi dan sastra Denmark. Sebuah tulisan besar yang terkenal secara internasional, …

Anatoly Pavlovich ArtsebarskyLahir9 September 1956 (umur 67)Prosyana, RSS Ukraina, Uni SovietKebangsaanUkrainaPekerjaanPilot uji cobaPenghargaanPahlawan Uni SovietKarier luar angkasaAntariksawanPangkatKolonel, Angkatan Udara RusiaWaktu di luar angkasa144 hari 15 jam 21 menitSeleksi1985MisiSoyuz TM-12, Mir EO-9 Anatoly Pavlovich Artsebarsky (Ukrainian: Анатолій Павлович Арцебарськийcode: uk is deprecated ) (Rusia: Анатолий Павлович Арцебарс…

Extinct Language NottowayNative toUnited StatesRegionVirginiaEthnicityNottoway peopleLanguage familyIroquoian NorthernTuscarora–NottowayNottowayLanguage codesISO 639-3Either:ntw – Nottowaynwy – Nottoway-MeherrinLinguist Listnwy Nottoway-MeherrinGlottolognott1246  Nottowaymehe1242  Meherrin Nottoway /ˈnɒtəˌweɪ/, also called Cheroenhaka, was a language spoken by the Nottoway people. Nottoway is closely related to Tuscarora within the Iroquoian language…

داريوس فازيل (بالإنجليزية: Darius Vassell)‏  فازيل مع ليستر سيتي عام 2011 معلومات شخصية الاسم الكامل داريوس مارتن كلارك فازيل[1] الميلاد 13 يونيو 1980 (العمر 43 سنة)[2]سوتون كولدفيلد, إنجلترا الطول 1.70 م (5 قدم 7 بوصة)[3] مركز اللعب مهاجم / جناح الجنسية المملكة المتحدة  …

عرش الملك في مجلس اللوردات، والذي يُلقى منه الخطاب في الافتتاح الرسمي لدورة للبرلمان. خط الخلافة على العرش البريطاني يُحدد عبر النسب والجنس (الذكور الذين ولدوا قبل 28 أكتوبر عام 2011 يسبقون أخواتهم الأكبر سنًا في خط الترتيب) والشرعية والدين. وبموجب القانون العام، يُورث التاج ل…

Ватиканская апостольская библиотекаитал. Biblioteca Apostolica Vaticana[1] Сикстинский салон библиотеки 41°54′17″ с. ш. 12°27′16″ в. д.HGЯO Страна  Ватикан Адрес 00120 Ватикан, Cortile del Belvedere Основана 1475 год Код ISIL IT-RM1360 Фонд Состав фонда средневековые рукописи, гравюры, монеты, …

TerasKecamatanPeta lokasi Kecamatan TerasNegara IndonesiaProvinsiJawa TengahKabupatenBoyolaliPemerintahan • CamatSubiso, S.P.Populasi • Total- jiwaKode Kemendagri33.09.07 Kode BPS3309070 Luas- km²Desa/kelurahan13 Teras (Jawa: ꦠꦼꦫꦱ꧀) adalah sebuah kecamatan di Kabupaten Boyolali, Jawa Tengah, Indonesia. Kantor Kecamatan Teras tereletak di Jalan Solo-Semarang, Teras, Boyolali Desa/kelurahan Bangsalan Doplang Gumukrejo Kadireso Kopen Krasak Mojolegi Nepen…

Teman BusDidirikan2 Juni 2020Lokal Sumatera Utara Sumatera Selatan Jawa Barat Jawa Tengah Daerah Istimewa Yogyakarta Jawa Timur Bali Kalimantan Selatan Sulawesi Selatan Wilayah layananIndonesiaJenis layananAngkutan cepat busRuteLihat di bawahOperatorKementerian Perhubungan RI dan masing-masing operator angkutan cepat busSitus webtemanbus.com Teman Bus (singkatan dari Transportasi Ekonomis Mudah Aman dan Nyaman) adalah sistem transportasi angkutan cepat bus (bus rapid transit/BRT) di Indonesia ya…

العلاقات الألمانية الكمبودية ألمانيا كمبوديا   ألمانيا   كمبوديا تعديل مصدري - تعديل   العلاقات الألمانية الكمبودية هي العلاقات الثنائية التي تجمع بين ألمانيا وكمبوديا.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المق…

العلاقات الصينية السيراليونية الصين سيراليون   الصين   سيراليون تعديل مصدري - تعديل   العلاقات الصينية السيراليونية هي العلاقات الثنائية التي تجمع بين الصين وسيراليون.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المقا…

English scientist, American physician, Professor of Medicine and Engineering and author David AgusAgus at the World Economic Forum Annual Meeting in 2013Born (1965-01-29) January 29, 1965 (age 59)[citation needed]Alma materPrinceton University (1987)University of PennsylvaniaKnown forProfessor of Medicine and EngineeringCo-founder of NavigenicsCo-founder of Applied ProteomicsThe End of Illness (2012)A Short Guide to a Long Life (2014)SpouseAmy PovichChildren2Scientific car…

Area of teeth covered by enamel For the dental procedure, see Crown (dental restoration). CrownCrown labeled at left in image.DetailsIdentifiersLatincorona dentisMeSHD019228TA98A05.1.03.009TA2915FMA55623Anatomical terminology[edit on Wikidata] 1. Tooth 2. Enamel 3. Dentin 4. Dental pulp ::5. cameral pulp ::6. root pulp :7. Cementum :8. Crown ::9. Cusp ::10. Sulcus :11. Neck :12. Root ::13. Furcation ::14. Root apex :::15. Apical foramen 16. Gingival sulcus …

Ma QiMa Qi Gubernur Militer QinghaiMasa jabatanOktober 1915 – Desember 1928PendahuluLian Xing (Lien Hsing)PenggantiSun Lianzhong (sebagai Ketua)Ketua Pemerintah QinghaiMasa jabatanSeptember 1929 – Mei 1931PendahuluSun Lianzhong (Sun Lien-chung)PenggantiMa Lin (panglima perang) Informasi pribadiLahir(1869-09-23)23 September 1869County Linxia, Gansu, Dinasti QingMeninggal5 Agustus 1931(1931-08-05) (umur 61)Xining, Qinghai, Republik TiongkokKebangsaanHuiPartai politikKuom…

Douglas SBD Dauntless adalah pesawat pengintai dan pembom tukik angkatan laut sayap rendah (low wing) Amerika Perang Dunia II yang diproduksi oleh Douglas Aircraft dari 1940 sampai 1944. SBD (Scout Bomber Douglas) adalah pesawat pengintai di kapal induk Angkatan Laut AS dan pembom tukik dari pertengahan 1940 sampai pertengahan 1944. SBD juga diterbangkan oleh Korps Marinir AS, baik dari pangkalan udara darat dan kapal induk. SBD paling dikenang sebagai bomber yang mengirimkan serangan fatal bagi…

British-bred Thoroughbred racehorse BusybodyBusybody parades before the Oaks, from Illustrated London News, May 1884SirePetrarchGrandsireLord ClifdenDamSpinawayDamsireMacaroniSexMareFoaled1881CountryUnited KingdomColourBayBreederEvelyn Boscawen, 6th Viscount FalmouthOwnerLord FalmouthGeorge BairdTrainerMathew DawsonThomas Cannon, Sr.Record6:5–1–0Earnings£10,620Major winsMiddle Park Stakes (1883)Great Challenge Stakes (1883)1000 Guineas (1884)Epsom Oaks (1884) Busybody (1881–18…

1765–1838 series of revolutions in the Atlantic World Atlantic RevolutionsPart of the Age of RevolutionClockwise from top: The Storming of the Bastille (1789) Battle of Vertières (1803) Patriot troops during the Batavian Revolution (1795) John Trumbull's Declaration of Independence (1776) Date22 March 1765 – 4 December 1838(73 years, 8 months, 1 week and 5 days)LocationAtlantic WorldCaused by The Age of Enlightenment Resulted inMultiple revolutions and wars across the At…

Bilateral relationsPoland–North Korea relations North Korea Poland Poland–North Korean relations (Korean: 뽈스까공화국-조선민주주의인민공화국관계) are foreign relations between Poland and North Korea. Poland is one of the few countries that maintain diplomatic and limited trading (fishing) relations with Democratic People's Republic of Korea. North Korea maintains an embassy in Warsaw, and Poland in Pyongyang. As of 2020[update], the North Korean ambassador is Il C…

Egyptian airline Petroleum Air Services IATA ICAO Callsign UF PER PAS AIR Founded1982Focus citiesAlexandria, Port Said, Ras Gharib, Ras Shukeir, Abu RudeisFleet size8 fixed-wing aircraft 37 helicoptersDestinationsAlexandria, Port Said, Ras Gharib, Luxor, Ras Shukeir, Abu Rudeis, El Tor, Marsa MatrouhHeadquartersCairo, EgyptKey peopleEhab abdelmaksoud (Chairman & MD)Websitewww.pas.com.eg Petroleum Air Services (PAS) (Arabic: خدمات البترول الجوية Khidmāt al-Bitrūl al-Gawwī…

Artikel ini memiliki beberapa masalah. Tolong bantu memperbaikinya atau diskusikan masalah-masalah ini di halaman pembicaraannya. (Pelajari bagaimana dan kapan saat yang tepat untuk menghapus templat pesan ini) Artikel biografi ini ditulis menyerupai resume atau daftar riwayat hidup (Curriculum Vitae). Tolong bantu perbaiki agar netral dan ensiklopedis. Gaya atau nada penulisan artikel ini tidak mengikuti gaya dan nada penulisan ensiklopedis yang diberlakukan di Wikipedia. Bantulah memperbaikiny…

Statewide student association of the University of California Not to be confused with Associated Students of the University of California. University of California Student AssociationAbbreviationUCSAFoundedFebruary 11, 1971TypeUnincorporated associationTax ID no. 94-2911063[1]PurposeStudent associationLocation385 Grand Ave, Suite 302 Oakland, California, 94610 (main office) 1020 12th Street, Suite 232 Sacramento, California, 95814 (legislative office)PresidentCelene AridinChairArianne (A…

Kembali kehalaman sebelumnya