Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: SpoonsJTD on January 19, 2004, 10:15:33 am

Title: Enforcing profile constraints
Post by: SpoonsJTD on January 19, 2004, 10:15:33 am
I know that the UML profile schema allows you to specify constraints for profile elements, but is there a switch or something you can turn on in EA to enforce those constraints?  By enforcing, I mean, disallowing a relationship that isn't permissible according to the profile constraints, or maybe providing a warning when a constraint specifies that an element requires the existence of a relationship and/or other element that currently doesn't exist.
Title: Re: Enforcing profile constraints
Post by: fox on January 28, 2004, 01:23:36 pm
I wanted to see about integrating an OCL language like that in ArgoUML, but it looks nasty.  

check it out at
http://dresden-ocl.sourceforge.net/
Title: Re: Enforcing profile constraints
Post by: Philgo on January 29, 2004, 02:19:10 am
I also would be very happy to have OCL in the product. I was a member of the United Nations CEFACT techniques and methodologies working group. They chose Poseidon - based on ArgoUML- as it had OCL as part of the product. It has a syntax checker, and also checks for Classifiers mentioned in the model etc.

 In all other respects EA is far superior IMHO.

OCL 2.0 is far better than OCL 1.?

I wish Sparx would incorporate OCL in the product.


Cheers, Phil
Title: Re: Enforcing profile constraints
Post by: fox on January 29, 2004, 10:57:14 am
I would love to see someone implement some type management {C#} plugin/facade that can rides on top of the EA model.