Interface CreateLinkObjectAction

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

        boolean validateAssociationClass​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                         Map context)
        The association must be an association class. self.association().oclIsKindOf(Class)
      • validateTypeOfResult

        boolean validateTypeOfResult​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        The type of the result pin must be the same as the association of the action. self.result.type = self.association()
      • validateMultiplicity

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