<DIV id=RTEContent>Yes, you are right. Thanks.<BR><BR><B><I>Aditya Agrawal <aditya.agrawal@gmail.com></I></B> wrote: <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"> <META content="Microsoft Word 11 (filtered medium)" name=Generator> <STYLE> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </STYLE> <STYLE> <!-- v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .SHAPE {behavior:url(#default#VML);} /* Font Definitions */ @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} @font-face {font-family:"Tim\000D\000A es New\000D\000A Roman"; panose-1:0 0 0 0 0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link,
span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} p {mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; font-size:12.0pt; font-family:"Times New Roman";} span.EmailStyle18 {mso-style-type:personal; font-family:Arial; color:navy;} span.EmailStyle19 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </STYLE> <DIV class=Section1> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi Arda,<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY:
Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">In your pattern specification you can change the “pattern cardinality” attribute even on the simple association between B and C. By simple association I mean an association without a class. <o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">You can click in the line, change the attribute called “pattern cardinality to ‘0’ or ‘-1’ “ <o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy
size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I hope this helps.<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Adi<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div> <DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR tabIndex=-1 align=center width="100%" SIZE=2> </SPAN></FONT></DIV> <div class=MsoNormal><B><FONT
face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> great-users-bounces@list.isis.vanderbilt.edu [mailto:great-users-bounces@list.isis.vanderbilt.edu] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Arda Göknil<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, February 02, 2006 9:15 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> A list for GReAT users to share bugs, fixes and ideas<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> RE: [great-users] negative application condition</SPAN></FONT><o:p></o:p></div></DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></div> <DIV id=RTEContent> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">I could not write a good example. I mean, the meta
association. I imagine the A, B and C classes are the meta classes and the association between them are the meta association, there is not a meta class named Association. The setting the pattern cardinality to "-1" is true if there is a Association entity in the meta class.<BR><BR><B><I><SPAN style="FONT-WEIGHT: bold; FONT-STYLE: italic">Aditya Agrawal <aditya.agrawal@gmail.com></SPAN></I></B> wrote: <o:p></o:p></SPAN></FONT></div> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Hi Arda,<o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">As far as I remember you can set the pattern cardinality on the association
between B and C to be “-1” instead of setting it on B. <o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I don’t know if things have changed in the recent past but earlier the value for negative condition used to be “0” not “-1”.<o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Could Attila or Feng please comment to this?<o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy
size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Adi<o:p></o:p></SPAN></FONT></div></DIV> <DIV> <div class=MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></div></DIV> <DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR tabIndex=-1 align=center width="100%" SIZE=2> </SPAN></FONT></DIV> <DIV> <div class=MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> great-users-bounces@list.isis.vanderbilt.edu [mailto:great-users-bounces@list.isis.vanderbilt.edu] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Arda Göknil<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> Thursday, February 02, 2006 5:14 AM<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> great-users@list.isis.vanderbilt.edu<BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [great-users] negative application condition</SPAN></FONT><o:p></o:p></div></DIV></DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></div></DIV> <DIV id=RTEContent> <DIV id=RTEContent> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hi,<o:p></o:p></SPAN></FONT></div></DIV></DIV> <DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">I
have a question about the negative application condition in GREAT. In the user manual, it is said that if you set the pattern cardinality to "-1", you negate that element. but I want to negate the element for only one association.<o:p></o:p></SPAN></FONT></div></DIV></DIV> <DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">For example, in my pattern I have three classes: classA, classB and classC. ClassA has a relation with ClassB and ClassC but I do not want ClassB to have a relation with ClassC. I want to negate ClassC for the association between ClassB and ClassC. But in my pattern if I set the pattern cardinality to -1, I can not show the whole pattern in one rule. How is it possible?<o:p></o:p></SPAN></FONT></div></DIV></DIV> <DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Regards,<o:p></o:p></SPAN></FONT></div></DIV></DIV> <DIV> <DIV> <div class=MsoNormal><FONT
face="Tim es New Roman" size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Tim es NewRoman'"> <o:p></o:p></SPAN></FONT></div></DIV></DIV> <DIV> <DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Arda Goknil<o:p></o:p></SPAN></FONT></div></DIV></DIV></DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR align=center width="100%" SIZE=1> </SPAN></FONT></DIV> <DIV> <div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">To help you stay safe and secure online, we've developed the all new <A href="http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http:/uk.security.yahoo.com/"><B><SPAN style="FONT-WEIGHT: bold">Yahoo! Security Centre</SPAN></B></A>.</SPAN></FONT><o:p></o:p></div></DIV> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE:
12pt">_______________________________________________<BR>great-users mailing list<BR>great-users@list.isis.vanderbilt.edu<BR>http://list.isis.vanderbilt.edu/mailman/listinfo/great-users<o:p></o:p></SPAN></FONT></div> <div class=MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></div></DIV> <DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt"> <HR align=center width="100%" SIZE=1> </SPAN></FONT></DIV> <div class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A href="http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http:/uk.photos.yahoo.com/"><B><SPAN style="FONT-WEIGHT: bold">Yahoo! Photos</SPAN></B></A> – <FONT color=red><SPAN style="COLOR: red">NEW</SPAN></FONT>, now offering a <A href="http://us.rd.yahoo.com/mail/uk/taglines/default/photos/*http:/uk.photos.yahoo.com/">quality print service</A> from just
8p a photo.</SPAN></FONT><o:p></o:p></div></DIV>_______________________________________________<BR>great-users mailing list<BR>great-users@list.isis.vanderbilt.edu<BR>http://list.isis.vanderbilt.edu/mailman/listinfo/great-users<BR></BLOCKQUOTE><BR></DIV><p>
                <hr size=1><font face="Arial" size="2">To help you stay safe and secure online, we've developed the all new <a href="http://us.rd.yahoo.com/mail/uk/taglines/default/security_centre/*http://uk.security.yahoo.com/"><b>Yahoo! Security Centre</b></a>.</font>