Interface ReadVariableAction

    • Method Detail

      • setResult

        void setResult​(OutputPin value)
        Sets the value of the 'Result' containment reference.
        Parameters:
        value - the new value of the 'Result' containment reference.
        See Also:
        getResult()
      • createResult

        OutputPin createResult​(String name,
                               Type type)
        Creates a new OutputPin,with the specified 'Name', and 'Type', and sets the 'Result' containment reference.
        Parameters:
        name - The 'Name' for the new OutputPin, or null.
        type - The 'Type' for the new OutputPin, or null.
        Returns:
        The new OutputPin.
        See Also:
        getResult()
      • validateTypeAndOrdering

        boolean validateTypeAndOrdering​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                        Map context)
        The type and ordering of the result output pin of a read-variable action are the same as the type and ordering of the variable. self.result.type =self.variable.type and self.result.ordering = self.variable.ordering
      • validateCompatibleMultiplicity

        boolean validateCompatibleMultiplicity​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                               Map context)
        The multiplicity of the variable must be compatible with the multiplicity of the output pin. self.variable.multiplicity.compatibleWith(self.result.multiplicity)