Table of Contents

Interface IVertex

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

The public interface for Vertex

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

Properties

Container

The Region that contains this Vertex. <p>From package UML::StateMachines.</p>

[Browsable(false)]
[XmlElementName("container")]
[XmlAttribute(true)]
[XmlOpposite("subvertex")]
IRegion Container { get; set; }

Property Value

IRegion

Methods

ContainingStateMachine()

The operation containingStateMachine() returns the StateMachine in which this Vertex is defined. result = (if container <> null then -- the container is a region container.containingStateMachine() else if (self.oclIsKindOf(Pseudostate)) and ((self.oclAsType(Pseudostate).kind = PseudostateKind::entryPoint) or (self.oclAsType(Pseudostate).kind = PseudostateKind::exitPoint)) then self.oclAsType(Pseudostate).stateMachine else if (self.oclIsKindOf(ConnectionPointReference)) then self.oclAsType(ConnectionPointReference).state.containingStateMachine() -- no other valid cases possible else null endif endif endif ) <p>From package UML::StateMachines.</p>

IStateMachine ContainingStateMachine()

Returns

IStateMachine

GetIncomings()

Derivation for Vertex::/incoming. result = (Transition.allInstances()->select(target=self)) <p>From package UML::StateMachines.</p>

ISetExpression<ITransition> GetIncomings()

Returns

ISetExpression<ITransition>

GetOutgoings()

Derivation for Vertex::/outgoing result = (Transition.allInstances()->select(source=self)) <p>From package UML::StateMachines.</p>

ISetExpression<ITransition> GetOutgoings()

Returns

ISetExpression<ITransition>

IsContainedInRegion(IRegion)

This utility query returns true if the Vertex is contained in the Region r (input argument). result = (if (container = r) then true else if (r.state->isEmpty()) then false else container.state.isContainedInRegion(r) endif endif) <p>From package UML::StateMachines.</p>

bool IsContainedInRegion(IRegion r)

Parameters

r IRegion

Returns

bool

IsContainedInState(IState)

This utility operation returns true if the Vertex is contained in the State s (input argument). result = (if not s.isComposite() or container->isEmpty() then false else if container.state = s then true else container.state.isContainedInState(s) endif endif) <p>From package UML::StateMachines.</p>

bool IsContainedInState(IState s)

Parameters

s IState

Returns

bool