Table of Contents

Interface IVariable

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

The public interface for Variable

[DefaultImplementationType(typeof(Variable))]
[XmlDefaultImplementationType(typeof(Variable))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//Variable")]
public interface IVariable : IMultiplicityElement, IConnectableElement, IParameterableElement, ITypedElement, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Properties

ActivityScope

An Activity that owns the Variable. <p>From package UML::Activities.</p>

[Browsable(false)]
[XmlElementName("activityScope")]
[XmlAttribute(true)]
[XmlOpposite("variable")]
IActivity ActivityScope { get; set; }

Property Value

IActivity

Scope

A StructuredActivityNode that owns the Variable. <p>From package UML::Activities.</p>

[Browsable(false)]
[XmlElementName("scope")]
[XmlAttribute(true)]
[XmlOpposite("variable")]
IStructuredActivityNode Scope { get; set; }

Property Value

IStructuredActivityNode

Methods

IsAccessibleBy(IAction)

A Variable is accessible by Actions within its scope (the Activity or StructuredActivityNode that owns it). result = (if scope<>null then scope.allOwnedNodes()->includes(a) else a.containingActivity()=activityScope endif) <p>From package UML::Activities.</p>

bool IsAccessibleBy(IAction a)

Parameters

a IAction

Returns

bool