Author Topic: Active Class and its State Machine  (Read 768 times)

ngong

  • EA User
  • **
  • Posts: 107
  • Karma: +0/-1
    • View Profile
Active Class and its State Machine
« on: June 29, 2011, 03:31:45 am »
What is the best practice or the UML specification to express that a certain Active Class behaves as described in a certain State Machine?

« Last Edit: June 29, 2011, 03:32:37 am by ngong »
Rolf

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 8470
  • Karma: +207/-26
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Active Class and its State Machine
« Reply #1 on: July 06, 2011, 04:49:31 pm »
I usually nest the statemachine in the Class.

Geert

ngong

  • EA User
  • **
  • Posts: 107
  • Karma: +0/-1
    • View Profile
Re: Active Class and its State Machine
« Reply #2 on: July 07, 2011, 01:59:38 am »
Ok, Geert

so you have a symbol for the statemachine - this is actually a state by itself - and you have a symbol representing the class.

Is there any specification in UML (or a best practice) to make clear that this statemachine describes the behavior of that class?

I am not clear about if a state(machine) is actually more general speaking a class. Can not identify this in UML specification.

What did the authors of UML had in mind?

Kind Regards


Rolf
Rolf