Problem when using #assert: to constraint model

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem when using #assert: to constraint model

Guillaume Larcheveque
At Synectique, we are extending FAMIX to create our own entities. To guarantee our models are not filled in a bad way, we are defining constraints on property setters (with #assert: or testing and throwing an exception).

The problem comes when we then export and load the .mse because the importer is not resolving things in a consistent order for our constraints.

Does anyone knows if there is a mechanism to guarantee constraints except if the model is loading? Or at least to know if the model is currently being loaded?
 
--
Guillaume Larcheveque


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.list.inf.unibe.ch/listinfo/moose-dev