[gme-users] About OCL constraint

Kevin Smyth ksmyth at isis.vanderbilt.edu
Fri Jul 27 11:26:55 CDT 2012


The OCL constraints are stored in the metamodel (so they can't read from
a file), and the only thing they can do is say the constraint is
satisfied or not satisfied.

You should create an Add-on to implement your desired functionality.

Kevin


-----Original Message-----
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Nayun
Cho
Sent: Thursday, July 26, 2012 10:27 PM
To: gme-users
Subject: [gme-users] About OCL constraint

Hi,

I want to ask something that related with the model constraint.
Is it possible to describe changeable value into OCL, such as "if a
value is more than 2, then do something"?
Also, the value is defined in some specific file.

How can we define such changeable OCL constraints?
Any hints or advice would be appreciated!

Thanks,

- Nayun Cho

_______________________________________________
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