Book a Demo

Author Topic: CodeGeneration: linkedAttribute - IsAggregation  (Read 2042 times)

juraj

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
CodeGeneration: linkedAttribute - IsAggregation
« on: November 23, 2012, 03:38:54 am »
I'm trying to prepare CodeGeneration template for our frameWork (written in c#). We have different implementation of LinkedAttribute (I observed that that’s the right point/template to put reference to some collection in class definition - that's how default template do that).
We use different property implementation of "basic reference" and aggregation.

How can I find out whether it's Aggregation, Composition or basic reference?

I found connectorSourceAggregation field subst. macro, but it's not available in LinkedAttribute section.

I am not sure if I clearly understand how CodeGeneration works, and how different „templates“ are called. Can I store some information to variable, and use it in another template?

Is there any detailed tutorial or manual for CodeGeneration templates? (For example I don't get what Stereotype Overrides does)