Stereotype (computing) Article Index for
Stereotype
 

Information About

Stereotype (computing)




In computing, a stereotype is a concept in the Unified Modeling Language , where it is used to encapsulate behaviors. Thus, a stereotype is used as a vehicle for communicating software requirements and designs, and lacks the negative connotation present in general usage.

Stereotypes are names denoted with double angle brackets that convey a high level category, type, or meaning of an item. For example, in a class diagram stereotypes can be used to classify method behavior such as <> and <>. Stereotypes are one of three extension mechanisms in UML.

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.