Interface Vertex

    • Method Detail

      • getOutgoing

        Transition getOutgoing​(String name)
        Retrieves the first Transition with the specified 'Name' from the ' Outgoing' reference list.
        Parameters:
        name - The 'Name' of the Transition to retrieve, or null.
        Returns:
        The first Transition with the specified 'Name', or null.
        See Also:
        getOutgoings()
      • getOutgoing

        Transition getOutgoing​(String name,
                               boolean ignoreCase,
                               org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first Transition with the specified 'Name' from the ' Outgoing' reference list.
        Parameters:
        name - The 'Name' of the Transition to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Transition to retrieve, or null.
        Returns:
        The first Transition with the specified 'Name', or null.
        See Also:
        getOutgoings()
      • getIncoming

        Transition getIncoming​(String name)
        Retrieves the first Transition with the specified 'Name' from the ' Incoming' reference list.
        Parameters:
        name - The 'Name' of the Transition to retrieve, or null.
        Returns:
        The first Transition with the specified 'Name', or null.
        See Also:
        getIncomings()
      • getIncoming

        Transition getIncoming​(String name,
                               boolean ignoreCase,
                               org.eclipse.emf.ecore.EClass eClass)
        Retrieves the first Transition with the specified 'Name' from the ' Incoming' reference list.
        Parameters:
        name - The 'Name' of the Transition to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        eClass - The Ecore class of the Transition to retrieve, or null.
        Returns:
        The first Transition with the specified 'Name', or null.
        See Also:
        getIncomings()
      • setContainer

        void setContainer​(Region value)
        Sets the value of the 'Container' container reference.
        Parameters:
        value - the new value of the 'Container' container reference.
        See Also:
        getContainer()
      • containingStateMachine

        StateMachine containingStateMachine()
        The operation containingStateMachine() returns the state machine in which this Vertex is defined result = if not container->isEmpty() then -- the container is a region container.containingStateMachine() else if (oclIsKindOf(Pseudostate)) then -- entry or exit point? if (kind = #entryPoint) or (kind = #exitPoint) then stateMachine else if (oclIsKindOf(ConnectionPointReference)) then state.containingStateMachine() -- no other valid cases possible endif