Book a Demo

Author Topic: Is Actor a stereotype in UML 2.0?  (Read 14641 times)

wings

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Is Actor a stereotype in UML 2.0?
« on: January 29, 2010, 12:16:14 pm »
Hi,everyone,

Actor is explaned as a stereotype in most UML books. But in UML 2.0 specification, Actor is derived from BehavioredClassifier (from BasicBehaviors, Communications), not exist as an instance of stereotype. Is it a revising?

wings

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Is Actor a stereotype in UML 2.0?
« Reply #1 on: January 29, 2010, 07:03:41 pm »
If a book really says actor is a stereotype then it is plain wrong.
Actor is an element just like class, interface, Action, etc..

But: an actor can be displayed in the standard rectangular shape. (like a class). In that case the box will have the "actor" keyword to indicate that it is an actor.
The notation for keywords is exactly the same as the notation for stereotypes, so from the looks of it you cannot distinguish a class with stereotype actor and an actor show in the rectangular style.

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Is Actor a stereotype in UML 2.0?
« Reply #2 on: January 29, 2010, 07:20:01 pm »
Quote
[size=18]...[/size]
The notation for keywords is exactly the same as the notation for stereotypes, so from the looks of it you cannot distinguish a class with stereotype actor and an actor show in the rectangular style.

Geert
One of OMG brighter ideas - NOT!

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

son-of-sargasso

  • EA User
  • **
  • Posts: 122
  • Karma: +0/-0
    • View Profile
Re: Is Actor a stereotype in UML 2.0?
« Reply #3 on: January 29, 2010, 09:40:48 pm »
Oh my Dog!  I had to try it myself.  I'm going to have to bang my head against a bar counter all weekend now just to get over it.

bruce




(actually I'm going fishing, so I'll just have to make do with slapping myself in the face with a bream or something  ;D) avagoodone!!!

wings

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Is Actor a stereotype in UML 2.0?
« Reply #4 on: January 31, 2010, 01:47:29 pm »
I see. Thanx for all of you.