[gme-users] Regarding OCL

Adi Mallikarjuna Reddy V adimallikarjunareddy at gmail.com
Thu Oct 26 21:13:59 CDT 2006


Hi All,

I would like to attach a constraint to the model. The model has two
attributes attr1 and attr2.

I would like to a constraint in the following manner,

if model1.attr1 ='None'
then
model.attr2.viewable=false


Is it possible? If so, let me know OCL construct for this.

Regards
Adi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20061026/d1b87149/attachment.htm


More information about the gme-users mailing list