Book a Demo

Author Topic: Design Vs Implementation Model  (Read 2280 times)

John Atherton

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Design Vs Implementation Model
« on: December 30, 2009, 03:41:04 am »
I'm generating Java code.  Can I specify a code package structure separately from the Design Model package structure?  For example, I may have three classes in a package in the Design Model that generate to more than one separate Java package but I see this as implementation detail.  To put it another way, can I specify my Java packaging structure in a separate model (Implementation Model?) to my Design Model or does the structure of the Design Model force the Java package structure for generated code?

I've searched the forum for the above but can't see it covered anywhere.

TIA.

John
« Last Edit: December 30, 2009, 03:41:50 am by johna »

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Design Vs Implementation Model
« Reply #1 on: December 30, 2009, 09:06:42 am »
Hi John,

You may be talking about the difference between the Platform Independent Model (PIM) and the Platform Specific Model (PSM) rather then the design vs implementation model.

In our environment we reserve the "implementation" model for the reverse engineer of the generated code (so that we can check that what was generated (by any means - even manual) was what was designed.  Consequently we have Platform Specific Implementation Model(s) (PSI) in addition to the PSM.

You transform the PIM to the PSM (both design models) and you can compare and contrast the PSM and the PSI (since they're at the same level).

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!