<div>Thanks a lot Akos.</div>
<div> </div>
<div>Apparently 0..1 has no effect. I am using the latest version of GME, and using the MetaGME 2004 meta interpreter.</div>
<div> </div>
<div>Regards</div>
<div>Zawar</div>
<div> </div>
<div>Zawar,<br><br>cc-d is the mailing list you are looking for. Specifying 0..1 should <br>work, the metainterpreter is supposed to generate the appropriate <br>constraint. Is that not the case?<br><br>Regards,<br>Akos<br>
<br><br>Zawar Qayyum wrote:<br>> Akos<br>> <br>> I am using GME as part of my research in modelling an architectural <br>> definition language Pi-ADL at Université de Bretagne-Sud. I must say <br>> that its a very robust and well written tool. I have a little question
<br>> however: In my meta model I have a <<Model>> called Any, which can <br>> contain (through a containment relationship) atmost one instance of <br>> <<Atom>> BaseType. How do I express that in the subset of OCL that GME
<br>> implements? Customizing the multiplicity doesn't seem to have the <br>> desired effect since I want to /*prevent*/ the addition of more than one <br>> BaseTypes.<br>> <br>> I would have liked to post this question on a relevant discussion forum
<br>> but didn't find any. Could you point me to any such forum that you know of?<br>> <br>> Thanks in advance.<br>> Zawar<br> </div>