I have a State class and Transition Class. How Do I make sure each state has a corresponding transition?
<p>I am modeling a small State diagram. Each "state class needs to have its transition class. How do I ensure the developers make a transition class for each state class? The state and the transition both are subclassed from their corresponding Abstract classes.</p>

<p>EDIT: I was working on the Head first Design Patterns and I tried to make my own states. i got stuck here. Not a homework.</p>
