Table of Contents

Interface ITrigger

Namespace
NMF.Interop.Uml
Assembly
NMF.UMLInterop.dll

The public interface for Trigger

[DefaultImplementationType(typeof(Trigger))]
[XmlDefaultImplementationType(typeof(Trigger))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//Trigger")]
public interface ITrigger : INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

Event

The Event that detected by the Trigger. <p>From package UML::CommonBehavior.</p>

[XmlElementName("event")]
[XmlAttribute(true)]
IEvent Event { get; set; }

Property Value

IEvent

Port

A optional Port of through which the given effect is detected. <p>From package UML::CommonBehavior.</p>

[XmlElementName("port")]
[XmlAttribute(true)]
ISetExpression<IPort> Port { get; }

Property Value

ISetExpression<IPort>

Methods

Trigger_with_ports(object, object)

If a Trigger specifies one or more ports, the event of the Trigger must be a MessageEvent. port->notEmpty() implies event.oclIsKindOf(MessageEvent)

bool Trigger_with_ports(object diagnostics, object context)

Parameters

diagnostics object

The chain of diagnostics to which problems are to be appended.

context object

The cache of context-specific information.

Returns

bool