Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - aram

Pages: [1]
1
It would be nice to have the possibility to transform and generate code from behavior models such as action diagrams, finite state machines.

2
General Board / model transformations
« on: June 14, 2006, 05:57:24 am »
I'm writing a model transformation templates which should merge several models. However I don't see how can I do the following.

I have a class X associated with Y (X->Y). The class Y is associated with Z. So what I have is X->Y->Z. I need to transform this to X associated with Z. Y should be deleted.
So what I don't know is how do I lets say get all the associations that have the current class as a Target.

Also where could I find more information on model transformations as the tutorial is not 100% helpful.
Thanks.

3
General Board / Behavior model transformations and code-generation
« on: June 11, 2006, 01:25:43 am »
Is there any way I could write transformations between for instance Action Diagram models? Any tricks to generate code from Action Diagrams?
If not, is Sparx Systems planning to introduce that?

I have tomorrow a presentation for a European level MARTES ITEA project http://www.martes-itea.org where I will present a small case-study worked out in EA. Would be nice to have complete info on dynamic models. I couldn't find anything on this in the help.

Thankx in advance.

4
General Board / C++ code generation errors
« on: May 30, 2006, 12:50:25 am »
The C++ code generation template introduces simple errors when generating the code. For association classes it generates a pointer variable however in the getters and setters it uses this variable as an value object.

I've tried to modify the template but I got stuck in the following lines:

%if opCode != ""%
%WRAP_LINES(opCode, "-1", "\t", "")%

This opCode produces the getter/setter method implementation. However it is not explained anywhere how is opCode constructed and how could one modify it.

5
Uml Process / Named element dependencies (UML 2)
« on: August 08, 2006, 05:53:29 am »
According to the UML2 metamodel dependencies are allowed between 2 any named elements. However in EA I can only denote dependencies between classes. What I would like to do is have a dependency between two methods or two attributes.
Will this be fixed in future releases?

Thanks.

6
Is there a way to invoke a transformation template from another one?
More specific: I am trying to make one EJB template that transforms the whole model onto the EJB domain according to the class stereotypes.
So what I need to do is very simple. Check the stereotype of the class and if it is a Session I invoke the EJB Session template.
If this is possible I have another question - how do I tell to the EJB Session template which class to transform.

Thanks

Pages: [1]