Interface Trigger

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

    public interface Trigger
    extends NamedElement
    A representation of the model object 'Trigger'. A trigger relates an event to a behavior that may affect an instance of the classifier. A trigger specification may be qualified by the port on which the event occurred.

    The following features are supported:

    See Also:
    UMLPackage.getTrigger()
    • Method Detail

      • setEvent

        void setEvent​(Event value)
        Sets the value of the 'Event' reference.
        Parameters:
        value - the new value of the 'Event' reference.
        See Also:
        getEvent()
      • getPorts

        MDWEList<Port> getPorts()
        Returns the value of the 'Port' reference list. The list contents are of type Port. A optional port of the receiver object on which the behavioral feature is invoked.
        Returns:
        the value of the 'Port' reference list.
        See Also:
        UMLPackage.getTrigger_Port()
      • getPort

        Port getPort​(String name,
                     Type type)
        Retrieves the first Port with the specified 'Name', and 'Type' from the 'Port' reference list.
        Parameters:
        name - The 'Name' of the Port to retrieve, or null.
        type - The 'Type' of the Port to retrieve, or null.
        Returns:
        The first Port with the specified 'Name', and 'Type', or null.
        See Also:
        getPorts()
      • getPort

        Port getPort​(String name,
                     Type type,
                     boolean ignoreCase)
        Retrieves the first Port with the specified 'Name', and 'Type' from the 'Port' reference list.
        Parameters:
        name - The 'Name' of the Port to retrieve, or null.
        type - The 'Type' of the Port to retrieve, or null.
        ignoreCase - Whether to ignore case in String comparisons.
        Returns:
        The first Port with the specified 'Name', and 'Type', or null.
        See Also:
        getPorts()