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?
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.