Book a Demo

Author Topic: Evolve domain model to class model  (Read 13047 times)

Werlang

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Evolve domain model to class model
« on: January 22, 2009, 07:17:08 am »
Hi everybody!

I'm interested in evolving my domain model, from phase Analysis to phase Project, ie. get a class model, with operations, new attributes, etc. Should I clone the diagram and classes and start over? How do you handle that?

If I share classes, I can hide some things in domain model, but it doesn't work all the time, I think.

I'd appreciate to hear from you.

TIA.
« Last Edit: January 22, 2009, 07:20:17 am by andre.werlang »
Keep on rockin' in the free world

bioform

  • EA User
  • **
  • Posts: 230
  • Karma: +0/-0
  • Forty-Two?
    • View Profile
Re: Evolve domain model to class model
« Reply #1 on: January 22, 2009, 11:16:16 am »
I make the assumption that the analysis classes will not evolve into tthe implementation classes. That way I only add to the domain classes the attributes of interest from an analysis point of view. You should not be defining attribute types, etc. in the analysis phase unless these are in fact constraints on the design (e.g., Part Number values are represented as a formatted string values)

The other thing is during analysis the concept of an employee (has a position, a supervisor, a date of hire, etc.) might be understood by the buisness and represented as a single analysis class, while the implementation of an employee might actually be several classes (demographic data, employment/position data, reporting heirachy, etc.)

If later you find attributes from your domain classes, just select those attibutes from your domain class (project bowser side) and drag and drop them onto your implementation classes (and they will be added)

However, the naming conventions for my analysis classes are named to make since to the business users, while implementation classes are named following the project's coding conventions.

Just by 2/100's of a Euro,
David
Time is what keeps everything from happening at once, Space is what keeps it all from happening to you. <unknown>