Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Rollie on January 28, 2009, 02:18:26 pm
-
I need to be able to obtain the relationship type, aggregation or association, from a custom Linked Attribute transformation template. Does anyone know if this is possible?
-
No.
If you want that information you'll need to use the connector template.
-
Thanks Simon. I have been working on this one all day and just before you posted found out that I instruct the Class template to call the Connector template from within the class. I need this information for a getter of the source class. I was going by the standard Java template which used the LinkedAttribute template and did not think about switching in a custom Connector template within the class. Thanks again.
-
No problems.
Just remember, to get to the connectors, you can't directly call the connector template. You have to call a list over the connectors.
-
Yes. I tried calling Connectors several days ago and realized it would not work. Tried doing the list over the connectors today and it works great.