Book a Demo

Author Topic: Use Cases and Requirements  (Read 6550 times)

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Use Cases and Requirements
« on: July 08, 2008, 07:58:01 pm »
Hello Everyone

I am capturing requirements and writing use cases to realize these.

A large part of the project has to do with users interacting with a UI so it is easy to identify Actors for the corresponding Use case (eg user presses button A, something happens)

Another part of the project has to do with controlling various hardware components which is where I am getting a little stuck. As an example when running the program must maintain a water tank at a give temperature by turning on (or off) a heating element.
This is clearly a requirement of the system but how does one write a use case for this ? what can I use as an actor?
 :-X

Thanks

Graham

Transition Technologies

  • EA User
  • **
  • Posts: 85
  • Karma: +0/-0
    • View Profile
Re: Use Cases and Requirements
« Reply #1 on: July 08, 2008, 08:19:59 pm »
Hi Graham,

According to UML notation Actors are not only people. In your case lets say:
Actor - Water Tank
Use Case - Turning on/off the heater

For better recognition of non-person Actors I advise to use Alternate Images (so you can clearly see who is a person in your Use Case Model)
« Last Edit: July 08, 2008, 08:21:25 pm by transition »
Regards,
Transition Technologies
Authorized Reseller and Training Partner of Sparx Systems
www.ea.tt.com.pl

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Use Cases and Requirements
« Reply #2 on: July 08, 2008, 08:21:25 pm »
Thanks!!

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Use Cases and Requirements
« Reply #3 on: July 08, 2008, 08:28:46 pm »
How can I get all instnaces of an actor to display an alternative image?

Graham

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Use Cases and Requirements
« Reply #4 on: July 09, 2008, 12:18:08 am »
Perhaps using a template package.

I don't know if you can do this retroactively without some kind of surgery on the data (perhaps through a SQL tweak or an XMI edit).
No, you can't have it!

Krzysztof Swiatkowski

  • EA User
  • **
  • Posts: 76
  • Karma: +0/-0
  • Understanding is a three-edged sword
    • View Profile
Re: Use Cases and Requirements
« Reply #5 on: July 09, 2008, 07:11:32 pm »
If you set that actor to have a specific stereotype (eg. hardware) and associate metafile with that stereotype you will get desired behaviour.
That applies if you want all hardware to look the same :). Otherwise you need to set image by hand every time.

Template package changes the way actor is created, it means that if you would want to change that image afterwards you would have to do it manually. I would rather use stereotype.

Regards
Kris
If I put you finger in the eye
then you have finger in the eye
and I have finger in the eye
but it's not the same

Graham_Labdon

  • EA User
  • **
  • Posts: 66
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Use Cases and Requirements
« Reply #6 on: July 09, 2008, 07:13:19 pm »
I could not get it to work with a metafile, but I have achieved the same using a shape script

Thanks