New UML notation: Stereotype (the thing with the in the << >>)



A UML term for "a new kind of model element defined within the model based on an existing kind of model element". Stereotypes may extend the semantics but not the structure of pre-existing meta-model classes.


  • Are always written in << and >>

  • are completely optional

  • can be applied to anything (classes, attributes, operations, etc.)

  • add additional classification information

In the example given above the use of stereotypes makes absolutely no sense, since everyone should be able to figure out that these methods are getter and setter methods. I just wanted to show you stereotypes.