[gme-users] Defining sequences of meta-types + comments/notes onthe meta-model
Chris vanBuskirk
Chris.vanBuskirk at vanderbilt.edu
Wed Jul 29 14:42:01 CDT 2009
Here is a "graphical" sequence:
Head-->Item1-->Item2-->Item3-->Tail
Regards,
Chris
> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf
> Of Ioannis Ntalamagkas
> Sent: Wednesday, July 29, 2009 11:38 AM
> To: gme-users
> Subject: [gme-users] Defining sequences of meta-types +
> comments/notes onthe meta-model
>
> Hello all,
>
> I apologise if my questions sound naive or if they have been already
> answered (I browsed the archives of the past two years and I
> didn't find
> anything similar).
>
> I want to define a type X that contains a *sequence* of instances of
> type Y. The only way that comes to my mind is that Y contains
> an integer
> attribute termed "order". Y then needs an OCL constraint that
> will check
> that all Ys are in sequence. Is there any better (simpler) way to
> achieve the same effect?
>
> Also, is there a way to add comments/notes on the meta-model
> directly? I
> am asking because in complex meta-models some things may not be
> straightforward to understand by latter users of it (under the
> assumption that the original developer/expert is no longer available).
>
> Thanks a lot,
> Yannis
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
>
More information about the gme-users
mailing list