I have 2 classes which are connected via a dependency relationship.
The dependency relationship should express that the dependent class should have the same instance variables, but another type which derives from the instance variables of the master class. see: class Y depends on class X. class X has the instance variable x of type InstanceX When creating class Y, it should have the instance variable of type InstanceXY Now I do also have to create the class InstanceX, which is no problem, but as a result I also want to have InstanceXY created, since it is similar, but subtyping of InstanceX is not suitable. The problem I have is, that the "outputPattern"-tag allows the usage of variables, but the variables come from outside and are not to be found out within the template, in my example I do not know in advance that I will need to create the class InstanceXY next to InstanceX which is known. I know at runtime, because i know class Y depends on class X, so I have to define at class Y the instance variable InctanceXY, no problem. The problem comes when I create InstanceX and I also have to create InstanceXY and I need a flexible "outputPattern" mechanism. _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=1137#1137 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput a projector? How fast can you ride your desk chair down the office luge track? If you want to score the big prize, get to know the little guy. Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20 _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user