On Sat, Mar 7, 2009 at 12:53 AM, Jens Klein <[email protected]> wrote:

> Hi,
>
> I'am maintainer and core-developer of ArchGenXML, a code generator for
> Python code in the context of Zope and Plone. ArgoUML is the major
> modeling tool most people using in this context.
>
> We're doing a huge refactoring of ArchGenXML and while doing so we build
> a new registry for stereotypes, taggedvalues and datatypes. From this
> registry we generate the profile xmi file for usage in ArgoUML.
>
> Now in our registry a stereotype may depend on the context of another
> stereotype. I.e we have a package with stereotype <<contenttypes>> and in
> there we have a class with stereotype <<archetype>>. Now latter can only
> exist in the package contenttypes. We can express this in our registry.
>
> Is it possible to express this kind of constraint in XMI and within
> ArgoUML? A tiny example or a simple "No way" would help me a lot.
> Searching the web brought up tons of crap results, but no good document
> explaining XMI and UML-Profiles in depth.
>

Hi, I think you can represent this adding an OCL annotation to your profile
I would need to look at the UML spec to write the proper expression, but I'm
sure it is possible.

Can you send me an example of such profile?
I can add the OCL expression to you

*maas*


>
> Thanks in advance
>
> Jens
> --
> Jens W. Klein, BlueDynamics Alliance, http://bluedynamics.com
>
> ------------------------------------------------------
>
> http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=1279418
>
> To unsubscribe from this discussion, e-mail: [
> [email protected]].
>



-- 
-
http://www.marcosaurelio.com
*1984 +2057


"crescer não é evoluir, crescer é ficar maior, evoluir é ficar melhor"

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=449&dsMessageId=1926329

To unsubscribe from this discussion, e-mail: 
[[email protected]].

Reply via email to