HI,
I'm new to MDA and adopting it in my research. Can you tell me what kind of java code is generated by Octopus. Is it something like the code generated by tools like rational rose or is a complete code. And since it is based on OCL which only specify "query methods" so what about "action methods"?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Java code generated will give you a complte running system. Query methods in OCL are fully supported. With this generated code you get a running system with the standard CRUD (Create, Read Update Delete) functionality. Storage is done in XML files, there is currently no storage to a database.
Action methods cannot be done in OCL and are not supported. You will have to write them in Java.
Jos
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Welcome to Open Discussion
HI,
I'm new to MDA and adopting it in my research. Can you tell me what kind of java code is generated by Octopus. Is it something like the code generated by tools like rational rose or is a complete code. And since it is based on OCL which only specify "query methods" so what about "action methods"?
The Java code generated will give you a complte running system. Query methods in OCL are fully supported. With this generated code you get a running system with the standard CRUD (Create, Read Update Delete) functionality. Storage is done in XML files, there is currently no storage to a database.
Action methods cannot be done in OCL and are not supported. You will have to write them in Java.
Jos