Chapter 8 Working with Object-Oriented Models


Importing Rational Rose statechart diagrams

In Rose, activity and statechart diagrams are created in the Use Case or Logical View:

A UML State Machine is automatically created, which contains statechart and activity diagrams with their relevant objects.

In PowerDesigner, statechart diagrams are created at the model level or in a composite state: the parent package or the model is considered the State Machine.

Rose statechart diagrams that are at the root level, or in a state are imported, but those that are in an activity are not imported.

Objects in Rose statechart diagrams are imported as follows. Only the listed properties are imported:

Rose Object OOM Object
State:

  • When action
  • OnEntry action
  • OnExit action
  • Do action
  • OnEvent action
  • Event action
  • Event arguments
State or object node:

  • Trigger event
  • Entry
  • Exit
  • Do
  • Event
  • Trigger event
  • Event arguments
State transition:

  • <No name>
  • <No code>
  • Event
  • Arguments
  • Guard condition
  • Action
Transition:

  • Calculated name
  • Calculated Code
  • Trigger Event
  • Event arguments
  • Condition
  • Trigger action

 


Copyright (C) 2008. Sybase Inc. All rights reserved.