Events and States

Events and States are differentiated below –

Events States
Anything that happen in time Shows the attributes values of object at a particular point in time
An event separate two states A state separates two events
An event is said to have happened without regard to whether it changes a state or not A state is said to have changed only if the event fired on the object changes some attribute value of the object
Are represented by labels over the directed arcs that connect the states with attributes within brackets Are represented as rounded rectangle and the state name is added as a label name inside the rectangle.