Instance Specification

MagicDraw OpenAPI, scripting related questions and discussions

Moderator: Moderators

Re: Instance Specification

Postby Tomas Pugzlys » Fri Mar 31, 2006 3:48 am

Hello,

> What´s a Instance Specification? Why does "this element" appear when I
> use a iterator with getOwnedElement method and in model MagicDraw
> application I don´t find it?

From UML2 spec:
An instance specification is a model element that represents an instance
in a modeled system.

Most likely you encountered an applied stereotype instance specification
(Element.getAppliedStereotypeInstance() method).

This instance specification contains what stereotypes and stereotype
tagged values are applied to the model element.

This is internal implementation detail of the MagicDraw stereotype
mechanism that is why this instance specification is not shown in the
Containment Tree.

You may see this instance specification in specification dialog and
properties panel.

Regards,
--
Tomas Pugzlys
Programmer
No Magic Lithuanian Development Center
Savanoriu pr. 363- IV, LT-49425, Kaunas
P.O. box 2166, LT-44011, Kaunas
Phone: +370 37 324032 Fax: +370 37 320670
e-mail : tomasp
WWW: http://www.magicdraw.com
--
MagicDraw - UML Made Simple

nntp://news.nomagic.com/nomagic.products.magicdrawuml.openapi wrote:
> Hello,
>
> What´s a Instance Specification? Why does "this element" appear when I
> use a iterator with getOwnedElement method and in model MagicDraw
> application I don´t find it?
>
> Thanks
>

Tomas Pugzlys
 
Posts Rating:

Instance Specification

Postby Raul Lorenzo » Fri Mar 31, 2006 4:12 am

Hello,

What´s a Instance Specification? Why does "this element" appear when I
use a iterator with getOwnedElement method and in model MagicDraw
application I don´t find it?

Thanks
Raul Lorenzo
 
Posts Rating:


Return to Programmatic Extendibility

Who is online

Users browsing this forum: No registered users and 0 guests