aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Part II - Dreamcar questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Part II - Dreamcar questions" Watch "Part II - Dreamcar questions" New topic
Author

Part II - Dreamcar questions

Víctor García
Greenhorn

Joined: May 04, 2009
Posts: 18
Hi,

First of all, i'm sorry for my english, it will'be a problem in part 3...

I have the Dreamcar assignment and i have some questions...

The tree part types has to be extensibles, and we need to design a solution that can get more part types in a future. There are tree posible solutions:
- A generalization with a specialized class for each part type. If we assume that each part type will have specialized data and/or behavior.
- A single PartType class asociated to Request and no asociated to CarModel. If we assume that a Request have only to know the category and the number of parts.
- A class Part asociated to a class/enumeration PartCategory. If we assume that a Request need to know anthing more that the category and the number of parts or if we assume that there are an inventary in db managed by others use cases.

Has someone thought about this?

Thanks in advance...
Víctor García
Greenhorn

Joined: May 04, 2009
Posts: 18
Up.

Please... Has someone thought about this?

Thanks.
srees Nivas
Ranch Hand

Joined: Oct 05, 2009
Posts: 51
Víctor García wrote:Up.

Please... Has someone thought about this?

Thanks.


Hi Victor,

The possible reason for not getting any responses is, you are talking about a specific requirement in your real assignment.
Simple tip : when you are posting questions, don't mention assignment name and change the requirement to a generic question.

All the best.

Best regards,
Sri.
Víctor García
Greenhorn

Joined: May 04, 2009
Posts: 18
Ok, I understand... thanks

I have another question: i think that the multiplicity have to change from Domain Model to Class Diagram... because in the Domain Model we have concepts while in the class diagram we have software elements...

And then, imagine that we have an item with one or more subitems... in this case, i think that in the Domain Model the multiplicity would be *, ok? In the class diagram, could we have a multiplicity of 1 if we have an attribute quantity_of_subitems and all subitems are the same...?
A Amit Ranjan
Greenhorn

Joined: Sep 25, 2010
Posts: 10
Hi Victor,
Did you get any reply or came to any conclusion for the multiplicity? Please share it.
thanks
Amit
Víctor García
Greenhorn

Joined: May 04, 2009
Posts: 18
A Amit Ranjan wrote:Hi Victor,
Did you get any reply or came to any conclusion for the multiplicity? Please share it.
thanks
Amit


I changed the multiplicity from Domain Model to Class Diagram and i explained every change i made.
A Amit Ranjan
Greenhorn

Joined: Sep 25, 2010
Posts: 10
Hi

I have a question regarding the relationship:
What relationship are you considering carmarket and car models. To me it seems many to many.
Also request can be placed against the parts for a particular carmarket.
And bidders can select carmarket of their choice and search request and place bid.
Please comment.
Thanks
Amit
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11280
    
  59

This question seems to be diverging from what might be discussion of the domain model, to talking about how to solve parts of the assignment. The first is allowable, the later - definitely not.

You might want to reconsider your question.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Part II - Dreamcar questions
 
Similar Threads
Dreamcar: domain objects relationship query.
DreamCar: Destination Market and Car Model - red herring?
Dreamcar DestinationMarket and marketplace
Dreamcar: Inventory system question
Dreamcar Assgnment for Part II - Question regarding Business Domain Model