[gme-users] help for constraint

Zoltan Molnar zolmol at isis.vanderbilt.edu
Thu Apr 5 10:16:59 CDT 2007


Hi,

Attribute values are not aspect specific. So you can't control attribute
values according to the current aspect of an FCO.

Br, Zoli

> -----Original Message-----
> From: gme-users-bounces at list.isis.vanderbilt.edu 
> [mailto:gme-users-bounces at list.isis.vanderbilt.edu] On Behalf 
> Of zgshu2004 at 163.com
> Sent: Thursday, April 05, 2007 4:45 AM
> To: gme-users
> Subject: [gme-users] help for constraint
> 
> 
> 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
> 
> 
> _______________________________________________
> 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