[gme-users] help for constraint

=?gb2312?B?yubV17jb?= zgshu2004 at 163.com
Thu Apr 5 04:44:37 CDT 2007


Hi,
  
  In metamodel, a <<Atom>> has a <<EmueAttribute>> , the values of the <<EmueAttribute>> MenuItems   have three items:A, B, and C. There are two aspects: at1 and at2. The <<Atom>> can be showed in both aspects. Now, I want to show different <<EmueAttribute>> MenuItems values of this <<Atom>> in different aspects, how to write the constraints in OCL?

for example,in user's model:

in aspect at1:  <<EmueAttribute>> of the <<atom>>  have three optional values: A , B, C;

in aspect at2:  <<EmueAttribute>> of the <<atom>>  have only two optional values: A ,B;





thanks.
 
  
David 
   
    Ph.D Candidate     South China University of Technology, Guangzhou, China.

Email: zgshu2004 at 163.com




More information about the gme-users mailing list