Table of Contents

Interface IActivityEdge

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

The public interface for ActivityEdge

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

Properties

Activity

The Activity containing the ActivityEdge, if it is directly owned by an Activity. <p>From package UML::Activities.</p>

[Browsable(false)]
[XmlElementName("activity")]
[XmlAttribute(true)]
[XmlOpposite("edge")]
IActivity Activity { get; set; }

Property Value

IActivity

Guard

A ValueSpecification that is evaluated to determine if a token can traverse the ActivityEdge. If an ActivityEdge has no guard, then there is no restriction on tokens traversing the edge. <p>From package UML::Activities.</p>

[Browsable(false)]
[XmlElementName("guard")]
[XmlAttribute(false)]
[Containment]
IValueSpecification Guard { get; set; }

Property Value

IValueSpecification

InPartition

ActivityPartitions containing the ActivityEdge. <p>From package UML::Activities.</p>

[XmlElementName("inPartition")]
[XmlAttribute(true)]
[XmlOpposite("edge")]
ISetExpression<IActivityPartition> InPartition { get; }

Property Value

ISetExpression<IActivityPartition>

InStructuredNode

The StructuredActivityNode containing the ActivityEdge, if it is owned by a StructuredActivityNode. <p>From package UML::Activities.</p>

[Browsable(false)]
[XmlElementName("inStructuredNode")]
[XmlAttribute(true)]
[XmlOpposite("edge")]
IStructuredActivityNode InStructuredNode { get; set; }

Property Value

IStructuredActivityNode

Interrupts

The InterruptibleActivityRegion for which this ActivityEdge is an interruptingEdge. <p>From package UML::Activities.</p>

[XmlElementName("interrupts")]
[XmlAttribute(true)]
[XmlOpposite("interruptingEdge")]
IInterruptibleActivityRegion Interrupts { get; set; }

Property Value

IInterruptibleActivityRegion

RedefinedEdge

ActivityEdges from a generalization of the Activity containing this ActivityEdge that are redefined by this ActivityEdge. <p>From package UML::Activities.</p>

[XmlElementName("redefinedEdge")]
[XmlAttribute(true)]
ISetExpression<IActivityEdge> RedefinedEdge { get; }

Property Value

ISetExpression<IActivityEdge>

Source

The ActivityNode from which tokens are taken when they traverse the ActivityEdge. <p>From package UML::Activities.</p>

[XmlElementName("source")]
[XmlAttribute(true)]
[XmlOpposite("outgoing")]
IActivityNode Source { get; set; }

Property Value

IActivityNode

Target

The ActivityNode to which tokens are put when they traverse the ActivityEdge. <p>From package UML::Activities.</p>

[XmlElementName("target")]
[XmlAttribute(true)]
[XmlOpposite("incoming")]
IActivityNode Target { get; set; }

Property Value

IActivityNode

Weight

The minimum number of tokens that must traverse the ActivityEdge at the same time. If no weight is specified, this is equivalent to specifying a constant value of 1. <p>From package UML::Activities.</p>

[Browsable(false)]
[XmlElementName("weight")]
[XmlAttribute(false)]
[Containment]
IValueSpecification Weight { get; set; }

Property Value

IValueSpecification

Methods

Source_and_target(object, object)

If an ActivityEdge is directly owned by an Activity, then its source and target must be directly or indirectly contained in the same Activity. activity<>null implies source.containingActivity() = activity and target.containingActivity() = activity

bool Source_and_target(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