|Re: Eclipse OCL and UML State Machines [message #674109 is a reply to message #674090]
||Wed, 25 May 2011 16:43
| Ed Willink
Registered: July 2009
Ok. It seems like you will want to use the OCL Java API to at least
check your OCL as you transform the UML states.
Today use of OCL at run time probably requires you put the OCL strings
into you Java code, and do a first time compile
to ASTs before you use the OCL as guards and transitions. This is what
EMF's genmodel does for OCL embedded in Ecore.
After Indigo we plan to do direct Java generation so you should be able
to invoke Java subroutines that do the states and transitions.
This has been added to https://bugs.eclipse.org/bugs/show_bug.cgi?id=279638.
On 25/05/2011 20:46, miguelafr wrote:
> I am refering to use a Java library which allows to transform a UML
> state machine (.uml file) into Java objects, that can be used for
> different purposes.
Powered by FUDForum
. Page generated in 0.01669 seconds