[gme-users] About OCL constraint
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.
From: gme-users-bounces at list.isis.vanderbilt.edu
[mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf Of Nayun
Sent: Thursday, July 26, 2012 10:27 PM
Subject: [gme-users] About OCL constraint
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!
- Nayun Cho
gme-users mailing list
gme-users at list.isis.vanderbilt.edu
More information about the gme-users