Table of Contents

Interface IActor

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

The public interface for Actor

[DefaultImplementationType(typeof(Actor))]
[XmlDefaultImplementationType(typeof(Actor))]
[ModelRepresentationClass("http://www.eclipse.org/uml2/5.0.0/UML#//Actor")]
public interface IActor : IBehavioredClassifier, IClassifier, ITemplateableElement, IType, IPackageableElement, IParameterableElement, IRedefinableElement, INamespace, INamedElement, IElement, IEModelElement, IModelElement, INotifyPropertyChanged, INotifyPropertyChanging
Inherited Members

Methods

Associations(object, object)

An Actor can only have Associations to UseCases, Components, and Classes. Furthermore these Associations must be binary. Association.allInstances()->forAll( a | a.memberEnd->collect(type)->includes(self) implies ( a.memberEnd->size() = 2 and let actorEnd : Property = a.memberEnd->any(type = self) in actorEnd.opposite.class.oclIsKindOf(UseCase) or ( actorEnd.opposite.class.oclIsKindOf(Class) and not actorEnd.opposite.class.oclIsKindOf(Behavior)) ) )

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

Must_have_name(object, object)

An Actor must have a name. name->notEmpty()

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