File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Part II - Dreamcar questions

 
Víctor García
Greenhorn
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Up.

Please... Has someone thought about this?

Thanks.
 
srees Nivas
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 11833
181
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic