Skip to Content

N-ary association Power Designer

Hello,

I would like to know if it is possible to build with Power Designer an n-ary association between three classes and an association class.

Best regards,

Dominique Culioli

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jun 05 at 03:32 PM

    Hello,

    In PowerDesigner, since there is no specific object to represent the associative class in an n-ary association, you can use a class, and then associate all the other classes to this class. This associative class could also be changed to the diamond shape by using the custom symbol feature.
    Implementation-wise, the code being created to implement the n-ary association will be the expected code (you need to have a class to manage the multiple associations as no single class participating in the join itself has navigability directly to all the other classes without being directly related in a series of binary associations).
    There may be a few other techniques folks may be using but this is the simplest way to get the desired result.

    Cheers,
    Arnaud

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 07 at 10:11 AM

    The only built-in support for n-ary relationships that I know of is in the CDM, if the model notation is Merise or E/R+Merise - in those notations, n-ary relationships can be modelled using asssociations

    Add comment
    10|10000 characters needed characters exceeded