My environment uses MagicDraw 9.0 which only checks syntax on OCL 2.0 
expressions.  With that in mind, I have a couple questions:

1.  Was "body" something from an earlier OCL version?  It is not something in 
OCL 2.0.  I was able to construct a valid expression following the specs on 
OCL 2.0 for defining operations (mostly with the post: subexpression).

2.  I used an <<Enumeration>> as the type of a member for a Hibernate 
<<Entity>>, and I need to express in a query method that that member is not 
equal to a specific enumerated value.  Is that possible since stereotypes are 
used rather than the datatype enumeration?

3.  Most of the given OCL expression is now translated to HQL, but it left off 
the part about that member not being equal to a particular value (I used the 
string value as it would appear in the DB).  When I used to have "body" 
(removed it to get MD9 to help w/syntax), I was getting exceptions for having 
"<>" or "!=" in the expression.  Is "<>" parsed as 'not equals'?

Thanks,

-- 
David Allen
[EMAIL PROTECTED]


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to