RE: [Andromda-user] Generating more than 1 classes base on stereotypes of attribute

2003-10-14 Thread Tony Mowers
You've pretty much described how to solve your problem on your own. If you add a stereotype to an attribute, exactly the way you have decribed below, and add that stereotype to your cartridge.xml file, then all the code templates that have been bound to the stereotype will be invoke for every ele

RE: [Andromda-user] Generating more than 1 classes base on stereotypes of attribute

2003-10-14 Thread Matthias Bohlen
Hi Fabrizio, you should associate the three special stereotypes with special templates. You do this in the cartridge descriptor (see the descriptor of an existing cartridge to see how to do that). The only thing you have to remember is: Inside your template script, the reference "$class" will not

RE: [Andromda-user] AndroMDA 2.0.6 supports Poseidon 2.0

2003-10-14 Thread Matthias Bohlen
Hi, all, I took the jmiuml14di.jar from Poseidon and added the XMI file from Poseidon's jboogie.jar. The jmiuml14di.jar already contains the JMI classes in org.omg.uml.diagraminterchange, so AndroMDA should be able to access them. Cheers... Matthias > -Original Message- > From: [EMAIL PR

[Andromda-user] Generating more than 1 classes base on stereotypes of attribute

2003-10-14 Thread Barbero Fabrizio
I try to use andromda for custom generation. Is there a way to generate more than one class based on the stereotype assigned to the classattributes ? For instance suppose that we have a class in the model with the following attributes + stereotypes class: XXX attributes: <> name: String <> age:

RE: [Andromda-user] AndroMDA 2.0.6 supports Poseidon 2.0

2003-10-14 Thread Tony Mowers
I have not looked in the new jmiuml14di.jar. Whether or you not you'll be able access the DI (diagram interchange) objects will depend upon how Matthias created that jar. I believer there are only two basic ways he could have created that jar: 1) updated the XMI description of UML1.4 to include