Interface Pseudostate

    • Method Detail

      • setStateMachine

        void setStateMachine​(StateMachine value)
        Sets the value of the 'State Machine' container reference.
        Parameters:
        value - the new value of the 'State Machine' container reference.
        See Also:
        getStateMachine()
      • setState

        void setState​(State value)
        Sets the value of the 'State' container reference.
        Parameters:
        value - the new value of the 'State' container reference.
        See Also:
        getState()
      • validateInitialVertex

        boolean validateInitialVertex​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                      Map context)
        An initial vertex can have at most one outgoing transition. (self.kind = #initial) implies (self.outgoing->size <= 1)
      • validateHistoryVertices

        boolean validateHistoryVertices​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        History vertices can have at most one outgoing transition. ((self.kind = #deepHistory) or (self.kind = #shallowHistory)) implies (self.outgoing->size <= 1)
      • validateJoinVertex

        boolean validateJoinVertex​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   Map context)
        In a complete statemachine, a join vertex must have at least two incoming transitions and exactly one outgoing transition. (self.kind = #join) implies ((self.outgoing->size = 1) and (self.incoming->size >= 2))
      • validateTransitionsIncoming

        boolean validateTransitionsIncoming​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map context)
        All transitions incoming a join vertex must originate in different regions of an orthogonal state. (self.kind = #join) implies self.incoming->forAll (t1, t2 | t1<>t2 implies (self.stateMachine.LCA(t1.source, t2.source).container.isOrthogonal))
      • validateForkVertex

        boolean validateForkVertex​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   Map context)
        In a complete statemachine, a fork vertex must have at least two outgoing transitions and exactly one incoming transition. (self.kind = #fork) implies ((self.incoming->size = 1) and (self.outgoing->size >= 2))
      • validateTransitionsOutgoing

        boolean validateTransitionsOutgoing​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map context)
        All transitions outgoing a fork vertex must target states in different regions of an orthogonal state. (self.kind = #fork) implies self.outgoing->forAll (t1, t2 | t1<>t2 implies (self.stateMachine.LCA(t1.target, t2.target).container.isOrthogonal))
      • validateJunctionVertex

        boolean validateJunctionVertex​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        In a complete statemachine, a junction vertex must have at least one incoming and one outgoing transition. (self.kind = #junction) implies ((self.incoming->size >= 1) and (self.outgoing->size >= 1))
      • validateChoiceVertex

        boolean validateChoiceVertex​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        In a complete statemachine, a choice vertex must have at least one incoming and one outgoing transition. (self.kind = #choice) implies ((self.incoming->size >= 1) and (self.outgoing->size >= 1))
      • validateOutgoingFromInitial

        boolean validateOutgoingFromInitial​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                            Map context)
        The outgoing transition from and initial vertex may have a behavior, but not a trigger or a guard. (self.kind = #initial) implies (self.outgoing.guard->isEmpty() and self.outgoing.trigger->isEmpty())