Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Usage of StateMachine or ProtocolStateMachine
Usage of StateMachine or ProtocolStateMachine [message #626725] Wed, 18 June 2008 08:51
Timothy Marc is currently offline Timothy MarcFriend
Messages: 547
Registered: July 2009
Senior Member
Hello,

i'm not a native english speaker, and sometimes, the similiar sounding
descriptions in the UML Superstructure confusing me. Yesterday, i explored
the differences between StateMachines and ProtocolStateMachines, but i
think, i don't get it at all. It would be nice, if someone could explain
respectively correct me with a not so formalistic kind of speech, if my
following opinion is wrong.

StateMachines are used to describe the behavior of an Classifier. Therefore,
the transitions can be connect with an event (Function Behavior), that is
specificate by any Behavior, that was defined for this Cassifier. Due to the
fact, that an StateMachine is the specialization of Behavior, it is possible
to activate another StateMachine, precisly an included StateMachine, from
within an Transition. StateMachines allows to define very complex scenarios.
But a StateMachine didn't requires to be specified inside of an Classifier.
It is also allowed to define them on their own.

However, ProtocolStateMachines are used for concrete operation calls, and
they forces to be defined in the context of a Classifier, contarty to
StateMachines. So, if opne would model the dynamic behavior for an Class,
for instance, he should use a ProtocalStateMachine, because with it, it is
possible to connect the transition directly to an Operation of the
Classifier instead of with an generic behavior, which could be any
specialization of an Behavior.

Am i right?

Thanks a lot
--Timothy
Previous Topic:isLeaf in UML Class Diagram
Next Topic:subscribe
Goto Forum:
  


Current Time: Fri Apr 03 09:15:03 GMT 2020

Powered by FUDForum. Page generated in 0.02805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top