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