Currently there is no error checking, so its a pain, its on my todo list to add 
it.  Your "allInstances" call is missing the '()', so you'll need 
"allInstances()".  Also "null" is not supported in OCL, you'll need to use -> 
isEmpty(), however that currently only works for collection types..its an open 
issue in JIRA.  The OCL translation support for querying isn't currently as 
complete as it should  be, planning on resolving that soon.  



Resources OCL 2.0:

The spec: http://www.omg.org/docs/ptc/03-10-14.pdf

Good book: "The Object Constraint Language: Getting Your Models Ready for MDA"

Good link: http://www.klasse.nl/ocl/index.html
--
Chad Brandon - [EMAIL PROTECTED]

http://www.andromda.org
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=476#476
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to