Table of Contents

Interface ICreateObjectAction

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

The public interface for CreateObjectAction

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

Properties

Classifier

The Classifier to be instantiated. <p>From package UML::Actions.</p>

[XmlElementName("classifier")]
[XmlAttribute(true)]
IClassifier Classifier { get; set; }

Property Value

IClassifier

Result

The OutputPin on which the newly created object is placed. <p>From package UML::Actions.</p>

[Browsable(false)]
[XmlElementName("result")]
[XmlAttribute(false)]
[Containment]
IOutputPin Result { get; set; }

Property Value

IOutputPin

Methods

Classifier_not_abstract(object, object)

The classifier cannot be abstract. not classifier.isAbstract

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

Classifier_not_association_class(object, object)

The classifier cannot be an AssociationClass. not classifier.oclIsKindOf(AssociationClass)

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

Multiplicity(object, object)

The multiplicity of the result OutputPin is 1..1. result.is(1,1)

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

Same_type(object, object)

The type of the result OutputPin must be the same as the classifier of the CreateObjectAction. result.type = classifier

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