Simple behavioral state machine based on OMG UML Superstructure v2.4.1 specification (chapter 15)