Interface ClearAssociationAction

    • Method Detail

      • setObject

        void setObject​(InputPin value)
        Sets the value of the 'Object' containment reference.
        Parameters:
        value - the new value of the 'Object' containment reference.
        See Also:
        getObject()
      • createObject

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

        InputPin createObject​(String name,
                              Type type)
        Creates a new InputPin,with the specified 'Name', and 'Type', and sets the 'Object' 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:
        getObject()
      • setAssociation

        void setAssociation​(Association value)
        Sets the value of the 'Association' reference.
        Parameters:
        value - the new value of the 'Association' reference.
        See Also:
        getAssociation()
      • validateSameType

        boolean validateSameType​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        The type of the input pin must be the same as the type of at least one of the association ends of the association. self.association->exists(end.type = self.object.type)
      • validateMultiplicity

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