Define Creation of Instance

Reference

Attribute

Meaning

See also

_instanceMode

Applied to a stereotype element, controlling the text in the Paste Element dialog after being translated.

Valid values are instance and property, with the default being instance.

 

 

_instanceOwner

Applied to a stereotype element, controlling the text in the Paste Element dialog.

It is translated if it matches an Enterprise Architect element type; the default value is Element.

 

 

_instanceType

Applied to a stereotype element, defining what kind of element is created as an instance of this element type.

The value corresponds to the metatype given to a stereotype using the _metatype attribute.

It is shown on the Paste Element dialog and is translated if it matches an Enterprise Architect element type.

 

 

 

The following example from SysML shows that when an instance of a Block is created, it is created as a BlockProperty element.

StereotypeWithInstanceMode

Learn more