Hi All,<br>
<br>
I would like to attach a constraint to the model. The model has two attributes <span style="color: rgb(255, 0, 0);">attr1 </span>and <span style="color: rgb(255, 0, 0);">attr2. <br>
<br>
<span style="color: rgb(0, 0, 0);">I would like to a constraint in the following manner,<br>
<br>
<span style="color: rgb(51, 51, 255);">if model1.attr1 ='None'</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">then </span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">model.attr2.viewable=false</span><br>
<br>
<br>
</span></span>Is it possible? If so, let me know OCL construct for this.<br>
<br>
Regards<br>
Adi<br>