Table of Contents

Interface IAction

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

The public interface for Action

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

Properties

IsLocallyReentrant

If true, the Action can begin a new, concurrent execution, even if there is already another execution of the Action ongoing. If false, the Action cannot begin a new execution until any previous execution has completed. <p>From package UML::Actions.</p>

[TypeConverter(typeof(LowercaseBooleanConverter))]
[XmlElementName("isLocallyReentrant")]
[XmlAttribute(true)]
bool IsLocallyReentrant { get; set; }

Property Value

bool

LocalPostcondition

A Constraint that must be satisfied when execution of the Action is completed. <p>From package UML::Actions.</p>

[Browsable(false)]
[XmlElementName("localPostcondition")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IConstraint> LocalPostcondition { get; }

Property Value

IOrderedSetExpression<IConstraint>

LocalPrecondition

A Constraint that must be satisfied when execution of the Action is started. <p>From package UML::Actions.</p>

[Browsable(false)]
[XmlElementName("localPrecondition")]
[XmlAttribute(false)]
[Containment]
IOrderedSetExpression<IConstraint> LocalPrecondition { get; }

Property Value

IOrderedSetExpression<IConstraint>

Methods

AllActions()

Return this Action and all Actions contained directly or indirectly in it. By default only the Action itself is returned, but the operation is overridden for StructuredActivityNodes. result = (self->asSet()) <p>From package UML::Actions.</p>

ISetExpression<IAction> AllActions()

Returns

ISetExpression<IAction>

AllOwnedNodes()

Returns all the ActivityNodes directly or indirectly owned by this Action. This includes at least all the Pins of the Action. result = (input.oclAsType(Pin)->asSet()->union(output->asSet())) <p>From package UML::Actions.</p>

ISetExpression<IActivityNode> AllOwnedNodes()

Returns

ISetExpression<IActivityNode>

ContainingBehavior()

result = (if inStructuredNode<>null then inStructuredNode.containingBehavior() else if activity<>null then activity else interaction endif endif ) <p>From package UML::Actions.</p>

IBehavior ContainingBehavior()

Returns

IBehavior

GetContext()

The derivation for the context property. result = (let behavior: Behavior = self.containingBehavior() in if behavior=null then null else if behavior.'context' = null then behavior else behavior.'context' endif endif) <p>From package UML::Actions.</p>

IClassifier GetContext()

Returns

IClassifier