Patches item #763934, was opened at 2003-07-01 16:30 Message generated for change (Comment added) made by mattes3 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536547&aid=763934&group_id=73047
Category: None Group: None >Status: Pending Resolution: None Priority: 5 Submitted By: David Wann (davidwann) Assigned to: Nobody/Anonymous (nobody) Summary: Implementation of Association proxy Initial Comment: I started working on this because I couldn't include the taggedValues from an AssociationEnd in a relation. In hindsight, I can see how it MAY be possible, but I do think that the DirectionalAssociationEnd that is used in the current EJB cartridge is messy. This patch includes a proxy for UMLAssociation and changes to PClassifier and PAssociationEnd. The changes mean that you can navigate roles and associations in a form more in line with the structure of a UML model. For example, to determine whether the class at the other end of an association is navigable: $thisend.otherEnd.navigable; to get the association name: $thisend.association.name. Included is an example EntitBean.vsl: the "relations" section is the relevant section demonstrating usage, including adding taggedValues for the target role (I needed @ejb.value-object tags for the methods, for example). The PClassifier class now has getAssociationEnds(), so templates using getAssociationLinks() and getAssociationData() should still work. If you agree that this patch is a descent alternative, I think these methods and the DirectionalAssociationEnd class can be marked as @deprecated. ---------------------------------------------------------------------- >Comment By: Matthias Bohlen (mattes3) Date: 2003-07-02 16:12 Message: Logged In: YES user_id=269920 Hi David, thanks for this patch. It is a good idea. I have tried to apply it but could not because the files are plain Java files, not "diff" files. To submit a valid patch, you should create them using diff -c -rx.y FileName.java or use your favorite IDE (e.g. Eclipse) to create the patch. Please re-submit this one - I'll reconsider it. Cheers... Matthias ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=536547&aid=763934&group_id=73047 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 _______________________________________________ Andromda-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/andromda-devel
