Actor (UML)

From Wikipedia, the free encyclopedia
Revision as of 13:25, 7 June 2024 by imported>Laiwoonsiu (Updated obsolete reference by current reference.)
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Parent-Teacher and Child - 2 actors, 5 usecases
UML use case diagram with two actors (Parent-Teacher and Child) and 5 use cases.

An actor[1] in the Unified Modeling Language (UML) "specifies a role played by a user or any other system that interacts with the subject."[1]

"An Actor models a type of role played by an entity that interacts with the subject (e.g., by exchanging signals and data), but which is external to the subject."[2]

"Actors may represent roles played by human users, external hardware, or other subjects. Actors do not necessarily represent specific physical entities but merely particular facets (i.e., “roles”) of some entities that are relevant to the specification of its associated use cases. A single physical instance may play the role of several different actors and a given actor may be played by multiple different instances."[2]

UML 2 does not permit associations between Actors.[2][3] The use of generalization/specialization relationship between actors is useful in modeling overlapping behaviours between actors and does not violate this constraint since a generalization relation is not a type of association.[4]

Actors interact with use cases.

References

Template:Reflist

External links

  • Current UML specification: Script error: No such module "citation/CS1".

Template:UML

Template:Uml-stub

  1. a b Script error: No such module "citation/CS1".
  2. a b c Script error: No such module "citation/CS1".
  3. Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".