Actor Properties

You can modify an object's properties from its property sheet. To open an actor property sheet, double-click its diagram symbol or its Browser entry in the Actors folder.

The General Tab contains the following properties:

Property

Description

Name

Specifies the name of the item, which should be clear and meaningful, and should convey the item's purpose to non-technical users.

Code

Specifies the technical name of the object, which is used for generating code or scripts

Comment

Descriptive comment for the object.

Stereotype

Extends the semantics of an object derived from existing objects but specific to your needs.

Implementation Classes Tab

An actor can be a human being (person, partner) or a machine, or process (automated system). When analyzing what an actor must do, you can identify the classes and interfaces that need to be created for the actor to perform his task, and attach them to the actor. The Implementation Classes tab lists the classes and interfaces used to implement the actor. The following tools are available:

Tool

Action

Add Objects – Opens a dialog box to select any class or interface in the model to implement the actor.

Create a New Class – Creates a new class to implement the actor.

Create a New Interface - Creates a new interface to implement the actor.

For example, an actor Car could be implemented by the classes Engine and Motorway.

Conceptually, you may link elements even deeper. For example, a clerk working in an insurance company is represented as an actor in a use case diagram, dealing with customers who declare a car accident.

The clerk actor becomes an object in a communication or sequence diagram, receiving messages from customers and sending messages to his manager, which is an instance of the Clerk class in a class diagram with its associated attributes and operations:



Related Diagrams Tab

The Related Diagrams tab lists diagrams that help you to further understand the actor. Click the Add Objects tool to add diagrams to the list from any model open in the workspace. For more information, see "Specifying Diagrams as Related Diagrams" in Chapter 5, Diagrams, Matrices, and Symbols in the Core Features Guide.