Stereotype (UML)

Stereotype (UML)

Stereotypes are one of three extensibility mechanisms in Unified Modeling Language (UML). 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 problem domain or otherwise specialized usage. 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 and placed above the name of another element. 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 classify method behavior such as «constructor» and «getter». Despite its appearance, «interface» is not a stereotype but a classifier [Object Management Group, "UML Superstructure Specification", v2.0 33, August 2005.] .

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.

tereotype attributes

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

UML defined stereotypes

Become

In the Unified Modeling Language, become is a keyword for a specific UML stereotype, and applies to a Dependency (which is 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.

References


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать реферат

Look at other dictionaries:

  • Stéréotype (UML) — Les stéréotypes sont un des trois mécanismes d extensibilité en Unified Modeling Language. Ils permettent aux concepteurs d étendre le vocabulaire de l UML, afin de créer des éléments de ce nouveau modèle, dérivé de ceux qui existent déjà, mais… …   Wikipédia en Français

  • Stereotype (disambiguation) — Stereotypes are ideas about people of other particular groups, based primarily on membership in that group.Stereotypes may also refer to:* Stereotype (printing), a duplicate impression of an original typographical element * Stereotype (UML), a… …   Wikipedia

  • UML colors — UML color standards are a set of four colors associated with Unified Modeling Language (UML) diagrams. The coloring system indicates which of several archetypes apply to the UML object. UML typically identifies a stereotype which is a bracketed… …   Wikipedia

  • Stereotype (homonymie) — Stéréotype (homonymie) Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom. Un stéréotype, se rapportant à un sujet, désigne : en imprimerie et en graphisme, une copie ou un cliché de ce sujet, type en… …   Wikipédia en Français

  • Stereotype — Dieser Artikel erläutert den Begriff Stereotyp im sozialwissenschaftlichen Kontext; zur Bedeutung in der Informatik siehe Stereotyp (UML), zu der in der Medizin siehe Stereotypie (Medizin), zu weiteren Bedeutungen siehe Stereotypie. Der Begriff… …   Deutsch Wikipedia

  • Stéréotype (homonymie) — Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom. En imprimerie, un stéréotype est une forme en relief obtenue par moulage pour effectuer des impressions, nommée aussi cliché. En sciences humaines, un… …   Wikipédia en Français

  • Stereotyp (UML) — Ein Stereotyp (das; s, e; engl. stereotype) ist eine Erweiterung vorhandener Modellelemente in der Unified Modeling Language (UML). In der Praxis geben Stereotype vor allem die möglichen Verwendungszusammenhänge (Verwendungskontext) einer Klasse …   Deutsch Wikipedia

  • Стереотип (UML) — У этого термина существуют и другие значения, см. Стереотип (значения). Стереотипы являются одним из трех типов механизмов расширяемости в унифицированном языке моделирования (UML). Они позволяют проектировщикам расширять словарь UML для создания …   Википедия

  • Diagramme uml — Unified Modeling Language Pour les articles homonymes, voir UML. Logo d UML UML (en anglais Unified Modeling Language, « langage de modélisation unifié ») est un langage graphique de mod …   Wikipédia en Français

  • Comparaison des logiciels d'UML — Cet article compare les logiciels d UML. Général Nom Créateur Plateforme / OS Première diffusion publique Dernière diffusion stable Open source ? Licence logiciel Langage de programmation utilisé eUML2 Studio Soyatec Multiplate forme (Java / …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”