Actor (UML)

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

UML use case diagram with two actors and 5 use cases.

"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."[1]

"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."[1]

UML 2 does not permit associations between Actors.[1][2] 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.[3]

Actors interact with use cases.

References

  1. "OMG Unified Modeling Language (OMG UML), Superstructure, V2.1.2, pp. 586–588". Archived from the original on 2010-09-23. Retrieved November 7, 2010.
  2. "Problems and Deficiencies of UML as a Requirements Specification, s.3.2" (PDF). Archived (PDF) from the original on 17 October 2010. Retrieved November 7, 2010.
  3. "UML 2 Specification". Retrieved July 4, 2012.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.