Table of Contents

Class InterruptibleActivityRegion

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

An InterruptibleActivityRegion is an ActivityGroup that supports the termination of tokens flowing in the portions of an activity within it. <p>From package UML::Activities.</p>

[XmlNamespace("http://www.eclipse.org/uml2/5.0.0/UML")]
[XmlNamespacePrefix("uml")]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//InterruptibleActivityRegion")]
public class InterruptibleActivityRegion : ActivityGroup, IInterruptibleActivityRegion, IActivityGroup, IActivityContent, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inheritance
InterruptibleActivityRegion
Implements
Inherited Members

Constructors

InterruptibleActivityRegion()

Creates a new instance

public InterruptibleActivityRegion()

Properties

ClassInstance

Gets the Class model for this type

public static IClass ClassInstance { get; }

Property Value

IClass

InterruptingEdge

The ActivityEdges leaving the InterruptibleActivityRegion on which a traversing token will result in the termination of other tokens flowing in the InterruptibleActivityRegion. <p>From package UML::Activities.</p>

[XmlElementName("interruptingEdge")]
[XmlAttribute(true)]
[XmlOpposite("interrupts")]
public ISetExpression<IActivityEdge> InterruptingEdge { get; }

Property Value

ISetExpression<IActivityEdge>

Node

ActivityNodes immediately contained in the InterruptibleActivityRegion. <p>From package UML::Activities.</p>

[XmlElementName("node")]
[XmlAttribute(true)]
[XmlOpposite("inInterruptibleRegion")]
public ISetExpression<IActivityNode> Node { get; }

Property Value

ISetExpression<IActivityNode>

ReferencedElements

Gets the referenced model elements of this model element

public override IEnumerableExpression<IModelElement> ReferencedElements { get; }

Property Value

IEnumerableExpression<IModelElement>

Methods

GetClass()

Gets the Class for this model element

public override IClass GetClass()

Returns

IClass

GetCollectionForFeature(string)

Gets the Model element collection for the given feature

protected override IList GetCollectionForFeature(string feature)

Parameters

feature string

The requested feature

Returns

IList

A non-generic list of elements

Interrupting_edges(object, object)

The interruptingEdges of an InterruptibleActivityRegion must have their source in the region and their target outside the region, but within the same Activity containing the region. interruptingEdge->forAll(edge | node->includes(edge.source) and node->excludes(edge.target) and edge.target.containingActivity() = inActivity)

public bool Interrupting_edges(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