aspose file tools*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Puzzled on Cade book class diagram,anyone can help? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Puzzled on Cade book class diagram,anyone can help? " Watch "Puzzled on Cade book class diagram,anyone can help? " New topic
Author

Puzzled on Cade book class diagram,anyone can help?

Jacky Doner
Ranch Hand

Joined: Dec 02, 2003
Posts: 53
Hi all,
In cade book,The class diagram extends the Business Domain Object
Model and the Address,CreditCard,and ShoppingCart have all been added with relationships to Customer.But from the class diagram ,I can't find ShoppingCart object.I don't know whether the ShoppingCart object need not to be added to the class diagram or the writer misses adding it.
If the object need to be added,then which objects have relationship with it?Product,Order and Payment?

Thanks in advance.
Ramon Gill
Ranch Hand

Joined: May 15, 2003
Posts: 344
Jacky,
What do you mean by ShoppingCart 'object' ? A class diagram should not show objects, just classes. The ShoppingCart class is shown.
Ray
Jacky Doner
Ranch Hand

Joined: Dec 02, 2003
Posts: 53
Sorry!In the class diagram,it should be called a class.But In the cade book,
I don't find the ShoppingCart class really,so I don't know how this class have relationships with other classes.
I don't know whether we use different cade book version.In my cade book,at page 168,The part content is:

Class Diagram
The class diagram is a little different from the Business Domain Object
Model (BDOM)provided by the business analyst,but it provides addi-
tional details and still meets the requirements of the BDOM.The
Address,CreditCard,and ShoppingCart have all been added with rela-
tionships to Customer.Payment and LineItem have been added to
expand the Order.Manufacturer is no longer an object,it is now an
attribute of Product.In addition,an Order no longer has a direct rela-
tionship to Product,it must use LineItem to form the relationship.
Stateless session beans have been added to show the classes that will han-
dle the workflow and business logic rules.

But in the class diagram,I can't find it.
In my design,I think the class diagram had better be designed as domain class diagram,i.e.,just extend the BDM,so I'm consider whether I need add this kind of class to my class diagram to book many segments.

Thanks.
Ramon Gill
Ranch Hand

Joined: May 15, 2003
Posts: 344
Jacky,
The class diagram on page 169 clearly shows ShoppingCart.
Ray
Jacky Doner
Ranch Hand

Joined: Dec 02, 2003
Posts: 53
I think we hold different versions of cade book from each other..Do you have the e-book of it?Can you send me the contents of page 169?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Puzzled on Cade book class diagram,anyone can help?