File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Cade/Shiel part 2 worked example -bid object multiplicity confusion Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Reply Bookmark "Cade/Shiel part 2 worked example -bid object multiplicity confusion" Watch "Cade/Shiel part 2 worked example -bid object multiplicity confusion" New topic
Author

Cade/Shiel part 2 worked example -bid object multiplicity confusion

chris J Smith
Greenhorn

Joined: Dec 29, 2011
Posts: 8
Hi Ranchers,
I'm a newbie so go easy.
I've been looking through the part 2 worked example in the Cade book and I'm unsure as to why the multiplicity of the Bid - Bidder association is different in the domain model on page 169 and the class diagram on page 172. In the domain model the relationship is that a bid can have one bidder but a bidder can have 0 to many bids whereas in the class diagram a Bid class is associated with 0 to many Bidder classes and the multiplicity from Bidder to Bid has gone. Is this a definite change or just a printing error? I thought it was a no no to change the given domain model like this? To me the relationship in the domain model makes sense so the change is confusing.

I'd be interested to know your thoughts.

Chris
kumar naresh
Ranch Hand

Joined: Mar 12, 2011
Posts: 108
    
    1
Hi Smith,

I think its a print mistake, relationship has to follow Bid 0..n ---- 1 Bidder same thing, in the image 0..n and 1 got closer and 1 got mixed in the line.

Kumar.


OCMJEA 5 |
http://sceacertification.blogspot.in/2011_12_01_archive.html
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Cade/Shiel part 2 worked example -bid object multiplicity confusion
 
Similar Threads
SCEA Part II - Problems to Understand the Domain Model
Puzzled on Cade book class diagram,anyone can help?
Class Diagram Relationship Links
Meaning of "You Must not Change It"
SCEA part 2 : a question of domain model