Interface LinkEndData

  • All Superinterfaces:
    Comparable<Object>, Element, org.eclipse.emf.ecore.EModelElement, org.eclipse.emf.ecore.EObject, MDWEObject, MDWObject, org.eclipse.emf.common.notify.Notifier
    All Known Subinterfaces:
    LinkEndCreationData, LinkEndDestructionData

    public interface LinkEndData
    extends Element
    A representation of the model object 'Link End Data'. A link end data is not an action. It is an element that identifies links. It identifies one end of a link to be read or written by the children of a link action. A link cannot be passed as a runtime value to or from an action. Instead, a link is identified by its end objects and qualifier values, if any. This requires more than one piece of data, namely, the statically-specified end in the user model, the object on the end, and the qualifier values for that end, if any. These pieces are brought together around a link end data. Each association end is identified separately with an instance of the LinkEndData class.

    The following features are supported:

    See Also:
    UMLPackage.getLinkEndData()
    • Method Detail

      • getValue

        InputPin getValue()
        Returns the value of the 'Value' reference. Input pin that provides the specified object for the given end. This pin is omitted if the link-end data specifies an 'open' end for reading.
        Returns:
        the value of the 'Value' reference.
        See Also:
        setValue(InputPin), UMLPackage.getLinkEndData_Value()
      • setValue

        void setValue​(InputPin value)
        Sets the value of the 'Value' reference.
        Parameters:
        value - the new value of the 'Value' reference.
        See Also:
        getValue()
      • setEnd

        void setEnd​(Property value)
        Sets the value of the 'End' reference.
        Parameters:
        value - the new value of the 'End' reference.
        See Also:
        getEnd()
      • validatePropertyIsAssociationEnd

        boolean validatePropertyIsAssociationEnd​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                                 Map context)
        The property must be an association end. self.end.association->size() = 1
      • validateSameType

        boolean validateSameType​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                 Map context)
        The type of the end object input pin is the same as the type of the association end. self.value.type = self.end.type
      • validateMultiplicity

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

        boolean validateQualifiers​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                   Map context)
        The qualifiers include all and only the qualifiers of the association end. self.qualifier->collect(qualifier) = self.end.qualifier
      • validateEndObjectInputPin

        boolean validateEndObjectInputPin​(org.eclipse.emf.common.util.DiagnosticChain diagnostics,
                                          Map context)
        The end object input pin is not also a qualifier value input pin. self.value->excludesAll(self.qualifier.value)