Interface ProtocolStateMachine

    • Method Detail

      • validateProtocolTransitions

        boolean validateProtocolTransitions​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map context)
        All transitions of a protocol state machine must be protocol transitions. (transitions as extended by the ProtocolStateMachines package) region->forAll(r | r.transition->forAll(t | t.oclIsTypeOf(ProtocolTransition)))
      • validateEntryExitDo

        boolean validateEntryExitDo​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                    Map context)
        The states of a protocol state machine cannot have entry, exit, or do activity actions. region->forAll(r | r.subvertex->forAll(v | v.oclIsKindOf(State) implies (v.entry->isEmpty() and v.exit->isEmpty() and v.doActivity->isEmpty())))
      • validateDeepOrShallowHistory

        boolean validateDeepOrShallowHistory​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map context)
        Protocol state machines cannot have deep or shallow history pseudostates. region->forAll (r | r.subvertex->forAll (v | v.oclIsKindOf(Psuedostate) implies ((v.kind <> #deepHistory) and (v.kind <> #shallowHistory)))))
      • validatePortsConnected

        boolean validatePortsConnected​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        If two ports are connected, then the protocol state machine of the required interface (if defined) must be conformant to the protocol state machine of the provided interface (if defined). true