wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes SCEA Part 2 - Factory Homes Again Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "SCEA Part 2 - Factory Homes Again" Watch "SCEA Part 2 - Factory Homes Again" New topic
Author

SCEA Part 2 - Factory Homes Again

Varun Chopra
Ranch Hand

Joined: Jul 10, 2008
Posts: 211
Friends,

I have received Factory Homes assignment for scea part 2.
I went through it and here's my interpretation of CompletedDesign to Product to House relationship. Can you take a look and let me know if you think differently?

I think House is the layout/style chosen by User. House stands for raw structure of the house (single story/duplex etc.) with the number and location of windows, doors and walls. But which actual windows/doors (wooden/metallic) will be used are to be searched from inventory system and once they are searched and added to House it is called a Product. When user will be done with designing the Product he will submit it to the system for validation. System will validate the design and also add missing components like plumbing, electrical wiring, heating etc. and mark it as CompletedDesign.

Talking about relationships, since Product to House is a 1-1 relationship, this means if there are n products there are n corresponding Houses. So if one CompletedDesign can have n Products attached, indirectly that means we are talking about n Houses. So user can design several Houses/Products and submit them together as a group for validation to get a SINGLE CompletedDesign. Practically this would make sense if one is interested in constructing multiple apartments on a piece of land, some of them may be 1-bedroom and others 2-bedroom. I mean this is just an example I am thinking of.

Let me know if you differ with my assessment, which would help me think deeper and better to start designing the system.

Thanks.
Varun



-Varun -
(My Blog) - Online Certifications - Webner Solutions
 
wood burning stoves
 
subject: SCEA Part 2 - Factory Homes Again