Interface ObjectNode

    • Method Detail

      • isControlType

        boolean isControlType()
        Returns the value of the 'Is Control Type' attribute. The default value is "false". Tells whether the type of the object node is to be treated as control.
        Returns:
        the value of the 'Is Control Type' attribute.
        See Also:
        setIsControlType(boolean), UMLPackage.getObjectNode_IsControlType()
      • setIsControlType

        void setIsControlType​(boolean value)
        Sets the value of the 'Is Control Type' attribute.
        Parameters:
        value - the new value of the 'Is Control Type' attribute.
        See Also:
        isControlType()
      • setUpperBound

        void setUpperBound​(ValueSpecification value)
        Sets the value of the 'Upper Bound' containment reference.
        Parameters:
        value - the new value of the 'Upper Bound' containment reference.
        See Also:
        getUpperBound()
      • getInStates

        MDWEList<State> getInStates()
        Returns the value of the 'In State' reference list. The list contents are of type State. The required states of the object available at this point in the activity.
        Returns:
        the value of the 'In State' reference list.
        See Also:
        UMLPackage.getObjectNode_InState()
      • getInState

        State getInState​(String name)
        Retrieves the first State with the specified 'Name' from the 'In State' reference list.
        Parameters:
        name - The 'Name' of the State to retrieve, or null.
        Returns:
        The first State with the specified 'Name', or null.
        See Also:
        getInStates()
      • getInState

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

        void setSelection​(Behavior value)
        Sets the value of the 'Selection' reference.
        Parameters:
        value - the new value of the 'Selection' reference.
        See Also:
        getSelection()
      • validateObjectFlowEdges

        boolean validateObjectFlowEdges​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        All edges coming into or going out of object nodes must be object flow edges. true
      • validateNotUnique

        boolean validateNotUnique​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                  Map context)
        Object nodes are not unique typed elements isUnique = false
      • validateSelectionBehavior

        boolean validateSelectionBehavior​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        If an object node has a selection behavior, then the ordering of the object node is ordered, and vice versa. true
      • validateInputOutputParameter

        boolean validateInputOutputParameter​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map context)
        A selection behavior has one input parameter and one output parameter. The input parameter must be a bag of elements of the same type as the object node or a supertype of the type of object node. The output parameter must be the same or a subtype of the type of object node. The behavior cannot have side effects. true