Sorry for the delay in replying to this.  This is a bug either way, so
please file a bug report if you haven't already done so.  More
comments below...

On Dec 3, 2007 11:45 AM, Sérgio Lopes <[EMAIL PROTECTED]> wrote:

> I've found that the documentation of method
>
> org.argouml.model.ExtensionMechanismsHelper.getStereotypes(Object)
>
> says that stereotypes are not retrieved from the namespace subtree, but the
> implementation in
>
> org.argouml.model.mdr.ExtensionMechanismsHelperMDRImpl.getStereotypes(Object)
> does retrieve [them from contained namespaces].
>
> For me the current implementation is crucial, so I would be glad if the
> documentation is corrected to reflect the MDR implementation.
>
> If otherwise, I ask you to include a method such semantics.

It's likely that the ArgoUML depends on the as-implemented semantics,
so we are most likely to correct the documentation.  Having said that,
this whole area of the API is in need of an overhaul.  It was created
by encapsulating the semantics of the previous UML 1.3 implementation
and is a poor fit for the UML 1.4 semantics, particularly now that
we've implemented support for profiles.

The UML 1.4 well-formedness rules require that Stereotypes be
contained in Profiles (Packages with the <<profile>> stereotype
applied), so it's probably a collection of those that we should be
searching for Stereotypes.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to