Interface WriteVariableAction

    • Method Detail

      • setValue

        void setValue​(InputPin value)
        Sets the value of the 'Value' containment reference.
        Parameters:
        value - the new value of the 'Value' containment reference.
        See Also:
        getValue()
      • createValue

        InputPin createValue​(String name,
                             Type type,
                             org.eclipse.emf.ecore.EClass eClass)
        Creates a new InputPin, with the specified 'Name', and 'Type', and sets the 'Value' 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:
        getValue()
      • createValue

        InputPin createValue​(String name,
                             Type type)
        Creates a new InputPin,with the specified 'Name', and 'Type', and sets the 'Value' 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:
        getValue()
      • validateSameType

        boolean validateSameType​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        The type input pin is the same as the type of the variable. self.value.type = self.variable.type
      • validateMultiplicity

        boolean validateMultiplicity​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        The multiplicity of the input pin is 1..1. self.value.multiplicity.is(1,1)