Interface ICreateObjectAction
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
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
Methods
Classifier_not_abstract(object, object)
The classifier cannot be abstract. not classifier.isAbstract
bool Classifier_not_abstract(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
Multiplicity(object, object)
The multiplicity of the result OutputPin is 1..1. result.is(1,1)
bool Multiplicity(object diagnostics, object context)
Parameters
diagnostics
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.
Returns
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
objectThe chain of diagnostics to which problems are to be appended.
context
objectThe cache of context-specific information.