Book a Demo

Author Topic: How to access connector filelds in Code Templates?  (Read 3319 times)

Markus Brenner

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to access connector filelds in Code Templates?
« on: September 06, 2005, 03:48:45 am »
I have started writing my own Code Templates. ;D

When writing code for the 'Linked Attribute' template, I would like to access the information whether the associated Class is linked by Aggregation or not. While there are field substitution macros for the cardinality (linkCard) and several other link-related information, there doesn't seem to be one that indicates whether the association is an Aggregation or not.

However, there are field substitution macros connectorSourceAggregation and connectorDestAggregation, however, when I use them from within the 'Linked Attribute' template, they always return empty strings. Unfortunately the CTF Documentation doesn't seem to tell anything about how to use these connector-related field attributes. Am I overlooking something here? ???

cheers,

-markus