[gme-users] Defining sequences of meta-types + comments/notes on the meta-model
Joe Porter
joe.porter at gmail.com
Thu Jul 30 10:09:03 CDT 2009
For completeness, I should add that the explicit ordering attribute approach
is also commonly used, especially when you have several different orderings
on overlapping sets of things. Also, for some cases the ordering must only
be consistent as used by different interpreters, so visual representation is
not important.
One trick for attribute-based ordering is to only enforce uniqueness of the
values in the OCL constraint. Often being strictly sequential is not as
important as making sure everything has a place. It should make for a much
simpler OCL constraint.
Hope that helps,
-Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20090730/1f6421c5/attachment.html
More information about the gme-users
mailing list