Interface ReadLinkObjectEndQualifierAction

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

        void setQualifier​(Property value)
        Sets the value of the 'Qualifier' reference.
        Parameters:
        value - the new value of the 'Qualifier' reference.
        See Also:
        getQualifier()
      • validateQualifierAttribute

        boolean validateQualifierAttribute​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                           Map context)
        The qualifier attribute must be a qualifier attribute of an association end. self.qualifier.associationEnd->size() = 1
      • validateAssociationOfAssociation

        boolean validateAssociationOfAssociation​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map context)
        The association of the association end of the qualifier attribute must be an association class. self.qualifier.associationEnd.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.qualifier.associationEnd.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 that has the given qualifier attribute. self.object.type = self.qualifier.associationEnd.association
      • validateMultiplicityOfQualifier

        boolean validateMultiplicityOfQualifier​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                Map context)
        The multiplicity of the qualifier attribute is 1..1. self.qualifier.multiplicity.is(1,1)
      • 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)
      • validateSameType

        boolean validateSameType​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        The type of the result output pin is the same as the type of the qualifier attribute. self.result.type = self.qualifier.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)