Interface ReadSelfAction

    • 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()
      • validateContained

        boolean validateContained​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                  Map context)
        The action must be contained in an behavior that has a host classifier. self.context->size() = 1
      • validateNotStatic

        boolean validateNotStatic​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                  Map context)
        If the action is contained in an behavior that is acting as the body of a method, then the operation of the method must not be static. true
      • validateType

        boolean validateType​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                             Map context)
        The type of the result output pin is the host classifier. self.result.type = self.context
      • validateMultiplicity

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