Interface ActivityPartition

    • Method Detail

      • setIsDimension

        void setIsDimension​(boolean value)
        Sets the value of the 'Is Dimension' attribute.
        Parameters:
        value - the new value of the 'Is Dimension' attribute.
        See Also:
        isDimension()
      • isExternal

        boolean isExternal()
        Returns the value of the 'Is External' attribute. The default value is "false". Tells whether the partition represents an entity to which the partitioning structure does not apply.
        Returns:
        the value of the 'Is External' attribute.
        See Also:
        setIsExternal(boolean), UMLPackage.getActivityPartition_IsExternal()
      • setIsExternal

        void setIsExternal​(boolean value)
        Sets the value of the 'Is External' attribute.
        Parameters:
        value - the new value of the 'Is External' attribute.
        See Also:
        isExternal()
      • getEdge

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

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

        void setRepresents​(Element value)
        Sets the value of the 'Represents' reference.
        Parameters:
        value - the new value of the 'Represents' reference.
        See Also:
        getRepresents()
      • validateDimensionNotContained

        boolean validateDimensionNotContained​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                              Map context)
        A partition with isDimension = true may not be contained by another partition. true
      • validateRepresentsPart

        boolean validateRepresentsPart​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                       Map context)
        If a partition represents a part, then all the non-external partitions in the same dimension and at the same level of nesting in that dimension must represent parts directly contained in the internal structure of the same classifier. true
      • validateRepresentsClassifier

        boolean validateRepresentsClassifier​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                             Map context)
        If a non-external partition represents a classifier and is contained in another partition, then the containing partition must represent a classifier, and the classifier of the subpartition must be nested in the classifier represented by the containing partition, or be at the contained end of a strong composition association with the classifier represented by the containing partition. true
      • validateRepresentsPartAndIsContained

        boolean validateRepresentsPartAndIsContained​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                     Map context)
        If a partition represents a part and is contained by another partition, then the part must be of a classifier represented by the containing partition, or of a classifier that is the type of a part representing the containing partition. true