Author Topic: isDerived for Connector accessible for Code Gen?  (Read 875 times)


  • EA User
  • **
  • Posts: 142
  • Karma: +3/-0
  • -- There's always a solution --
    • View Profile
isDerived for Connector accessible for Code Gen?
« on: February 05, 2013, 02:39:32 am »
I can't find any code substitution for the property "Advanced \ isDerived" in the association dialog.

Q: Am I missing something?

What I do find though is that association Roles has a code substitution for derive (%connectorSourceDerived% and %connectorDestDerived%), but the the association itself doesn't seem to have any.

I can derive the status for the association itself, like so:
    $isDerived = %connectorSourceDerived=="T" or connectorDestDerived=="T"%
    [/list]... but this may confuse the modeller user which can explicitly set the derived status to True/False in the dialog.

    And furthermore, if only the Role(s) are set do Derived (and the association is indirectly interpreted by the Code Gen as being Derived) that is not displayed in the diagram with a slash prefixing the /association name.

    This seems to me like something that needs to be fixed.

    // Rolf Lampa
    « Last Edit: February 05, 2013, 02:47:07 am by Rolf_Lampa »
    -- There's always a solution --