I have a contract class. The contract is valid from January 1, 2010 - December 31, 2010.
It can be in Active or Passive state, depending on what date I request from the instance for it. ex. if I ask on July 4, 2010, it is in Active state, but if I ask on January 1, 2011, it is in Passive state.
Statemachine Chart:
From the βStartβ state, in what state should I go to the next? I think that the default pseudo-state is with an input function that determines which state to go to next, and then to the substitution machine with active and passive, and then to the completion state when deleted.
But it seems complicated for such a trivial task.
How do you do this?
source share