Interface RemoveVariableValueAction

    • Method Detail

      • setIsRemoveDuplicates

        void setIsRemoveDuplicates​(boolean value)
        Sets the value of the 'Is Remove Duplicates' attribute.
        Parameters:
        value - the new value of the 'Is Remove Duplicates' attribute.
        See Also:
        isRemoveDuplicates()
      • getRemoveAt

        InputPin getRemoveAt()
        Returns the value of the 'Remove At' containment reference. Specifies the position of an existing value to remove in ordered nonunique variables. The type of the pin is UnlimitedNatural, but the value cannot be zero or unlimited.
        Returns:
        the value of the 'Remove At' containment reference.
        See Also:
        setRemoveAt(InputPin), UMLPackage.getRemoveVariableValueAction_RemoveAt()
      • setRemoveAt

        void setRemoveAt​(InputPin value)
        Sets the value of the 'Remove At' containment reference.
        Parameters:
        value - the new value of the 'Remove At' containment reference.
        See Also:
        getRemoveAt()
      • createRemoveAt

        InputPin createRemoveAt​(String name,
                                Type type,
                                org.eclipse.emf.ecore.EClass eClass)
        Creates a new InputPin, with the specified 'Name', and 'Type', and sets the 'Remove At' containment reference.
        Parameters:
        name - The 'Name' for the new InputPin, or null.
        type - The 'Type' for the new InputPin, or null.
        eClass - The Ecore class of the InputPin to create.
        Returns:
        The new InputPin.
        See Also:
        getRemoveAt()
      • createRemoveAt

        InputPin createRemoveAt​(String name,
                                Type type)
        Creates a new InputPin,with the specified 'Name', and 'Type', and sets the 'Remove At' containment reference.
        Parameters:
        name - The 'Name' for the new InputPin, or null.
        type - The 'Type' for the new InputPin, or null.
        Returns:
        The new InputPin.
        See Also:
        getRemoveAt()
      • validateUnlimitedNatural

        boolean validateUnlimitedNatural​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map context)
        Actions removing a value from ordered nonunique variables must have a single removeAt input pin if isRemoveDuplicates is false. It must be of type UnlimitedNatural with multiplicity of 1..1, otherwise the action has no removeAt input pin. true