Can we find out who has triggered the event shown as action by the State Diagram?If not, which UML artifact would show this?
A stage diagram is related to one specific entity, normaly one object. As always you can use a stereotype. You can also link another diagram that shows more detais. If the intetion is primarily to show this interaction, sequence or collaboration diagrams should be used.
Wanted some more information/illustrations on implementation of State Diagrams - Any
online information on this?
They are normaly implemented as an attribute of the object. If you have many states and wnat to avoid usind switch/case command you can use State Pattern described in Larman's book , 2nd edition, pg. 554 or GoF, pg 305.
Online, I found this simple tutorial:
State pattern Adrian
[ August 15, 2002: Message edited by: Adrian Ferreira ]