Transitions are NOT states. Transitions are events that move an object from one state to another. States are determined by the value of the variables in the object and the behavior of the object. Take, for example, the Student object, which has the value "new wait for approval." The student is not allowed to register or attend classes. But the same student may be allowed to register and attend classes if the value changes to "approved." What's the difference? The student object actually has two states.
What makes a Student object move from one state to another? Arrangement of Arrival Approval may take place. So, the approval of Arrival follows the arrow between the two states.
Vincent ramdhanie
source share