Interface ReadLinkObjectEndAction

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

        void setEnd​(Property value)
        Sets the value of the 'End' reference.
        Parameters:
        value - the new value of the 'End' reference.
        See Also:
        getEnd()
      • 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()
      • validateProperty

        boolean validateProperty​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        The property must be an association end. self.end.association.notEmpty()
      • validateAssociationOfAssociation

        boolean validateAssociationOfAssociation​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map context)
        The association of the association end must be an association class. self.end.Association.oclIsKindOf(AssociationClass)
      • validateEndsOfAssociation

        boolean validateEndsOfAssociation​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        The ends of the association must not be static. self.end.association.memberEnd->forall(e | not e.isStatic)
      • validateTypeOfObject

        boolean validateTypeOfObject​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        The type of the object input pin is the association class that owns the association end. self.object.type = self.end.association
      • validateMultiplicityOfObject

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

        boolean validateTypeOfResult​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                     Map context)
        The type of the result output pin is the same as the type of the association end. self.result.type = self.end.type
      • validateMultiplicityOfResult

        boolean validateMultiplicityOfResult​(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)