The domain model of the case study is identical with the
Spring JPetstore sample application in its salient aspects.
The case study introduces a layer supertype class
(not shown in the diagram) that bestows a unique identifier
property on each subclass.
All of the classes are POJOs and are persisted by
the data access layer.
describes a class of items
that can be sold, and is associated with a
holds inventory information about
s, such as status, quantity in stock,
list price and unit cost.
describes an end user of the JPetStore,
and holds information such as the user's name, address and
Users shop online using a
, to which they
can add and remove
represents an association between an individual
user's cart and
s in inventory at a particular
moment in the user's shopping experience.
Once the user makes a purchase, the items in the
contains information about the user,
payment method, billing and shipping address.
s in inventory