Interface LinkEndDestructionData

    • Method Detail

      • setIsDestroyDuplicates

        void setIsDestroyDuplicates​(boolean value)
        Sets the value of the 'Is Destroy Duplicates' attribute.
        Parameters:
        value - the new value of the 'Is Destroy Duplicates' attribute.
        See Also:
        isDestroyDuplicates()
      • getDestroyAt

        InputPin getDestroyAt()
        Returns the value of the 'Destroy At' reference. Specifies the position of an existing link to be destroyed in ordered nonunique association ends. The type of the pin is UnlimitedNatural, but the value cannot be zero or unlimited.
        Returns:
        the value of the 'Destroy At' reference.
        See Also:
        setDestroyAt(InputPin), UMLPackage.getLinkEndDestructionData_DestroyAt()
      • setDestroyAt

        void setDestroyAt​(InputPin value)
        Sets the value of the 'Destroy At' reference.
        Parameters:
        value - the new value of the 'Destroy At' reference.
        See Also:
        getDestroyAt()
      • validateDestroyLinkAction

        boolean validateDestroyLinkAction​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        LinkEndDestructionData can only be end data for DestroyLinkAction or one of its specializations. true
      • validateUnlimitedNaturalAndMultiplicity

        boolean validateUnlimitedNaturalAndMultiplicity​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                        Map context)
        LinkEndDestructionData for ordered nonunique association ends must have a single destroyAt input pin if isDestroyDuplicates is false. It must be of type UnlimitedNatural and have a multiplicity of 1..1. Otherwise, the action has no input pin for the removal position. true