Skip to Content
avatar image
Former Member

Powerdesigner 16.6: Barker Notation, PDM and inheritance

Hi,

I use Powerdesigner 16.6 SP 1 right now. Two problems occured I can't get rid of it:

  1. For conceptional data modeling I prefer to use Barker Notation. Long time ago (ca. 3 years) I came across with a problem, also reported in an older Sybase forum: Supertypes aren't generated in physical data models (PDM) based upon Barker notated models. Question #1: How can I use Barker notated models and generate all classes I've defined, also every supertype class? Question #2: If I can't directly generate supertypes, what will be the best workaround for that problem?
  2. When subtypes are generated in a PDM, all attributes from supertype class are automatically generated within each subtype class. Question #3: Can I change this behaviour in Powerdesigner so that all inherited attributes aren't generated within each subtype class? The generation of all attributes once within each supertype class is enough.

Thanks for your help!

Best regards

Stephan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 28, 2017 at 02:36 AM

    Hi George,

    thanks for your answer! You are right, it's probably not the answer I want to hear ;-) Bit your hint to model transformation is very useful. I will have a closer look to in-memory model transformation and give it a try.

    S.

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 27, 2017 at 09:57 PM

    You probably won't like this answer, Stephan - you'll need to generate a non-Barker CDM or LDM first, then generate your PDM from there.

    I haven't tried this myself, but you could probably do this in-flight using a model transformation to change the model notation in memory, though the resulting inheritances would all have the default properties, which is probably not what you (though you could also change the properties using the model transformation).

    Add comment
    10|10000 characters needed characters exceeded