This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I received assignment "Factory Homes" and started working on it.
If anybody already worked on this assginment kindly validate my understanding on Domain classes.
1. Customer has Completed Design(actually working design). Hope is persistable, we can have status as "In-progress" /"Completed"
2. each completed design consist of 1 or more Products. Here Products are configurable House Styles(reference data) which customer should select first to start the house design.
3. each product has one House
4. each house has one or more components(Foundation, Wall, Roof, Window, Door). Each wall has one or more Aperture. we can have "Component" as superclass for sub classes Foundation, Wall, Roof, Window and Door. we can have "Aperture" as interface so that Window and Door can implement it.
This is what i'm just thinking of domain classes and relationship. Kindly validate it.