Book a Demo

Author Topic: Showing an instance of an actor with a run state  (Read 2128 times)

Richard Phillips

  • EA User
  • **
  • Posts: 27
  • Karma: +0/-0
    • View Profile
Showing an instance of an actor with a run state
« on: August 08, 2008, 08:16:15 pm »
Hi,

I am modelling an analysis diagram which instantiates a number of classes.

I have 2 main problems that I hope can be solved.

1. I have defined an actor which has an attribute called 'Location'. When I place this actor on class/use case diagrams I can choose to represent it with the 'actor' notation or as a rectangle with the <<actor>> stereotype.
If I create an instance of that actor in a diagram, I cannot change the representation from the 'Actor' notation. This means that if I set a run state for the 'Location' attribute of the instance, it is not shown on the diagram.

2. How do I represent instances of association classes?

Example: Examiner <<actor>> is associated with ExamPaper <<class>>. An association class called MarkingCapacity <<class>> containing an attribute called NoOfScripts, links Examiner to ExamPaper.

I need to illustrate how a routine establishes if there are enough examiners available to mark an exam paper.

I have instantiated the ExamPaper class and given it some run state attributes. I have also instantiated a couple of Examiners. The associations do not automatically appear between these instances so how do I represent the instance of the association class (MarkingCapacity)?

Perhaps I am using the wrong notation or diagram, any help would be appreciated.

Thanks,
Richard.