ClassDiagram
Customer
address: String[0..1]
phone: String[0..1]
email: String[0..1]
isVIP(): Boolean
Payment
paidDate: Date[0..1]
total: Real[0..1]
details: String[0..1]
ShoppingCart
creationDate: Date[0..1]
Account
billingAddress: String[0..1]
open: Date[0..1]
closed: Date[0..1]
isClosed: Boolean[0..1]
WebUser
login: String[0..1]
password: String[0..1]
state: UserState[0..1]
Order
number: Integer[0..1]
ordered: Date[0..1]
shipped: Boolean[0..1]
shipTo: String[0..1]
total: Real[0..1]
status: OrderStatus[0..1]
LineItem
quantity: Integer[0..1]
price: Real[0..1]
Product
name: String[0..1]
description: String[0..1]
« Enumeration »
UserState
New
Active
Banned
« Enumeration »
OrderStatus
New
Old
Shipped
Delivered
Closed
+customer
+webuser
+acc
+customer
+webuser
+shoppincart
+order
+account
+payment
+account
+items
+sc
+item
+product
+cart
+account
+order
+items
1
1
1
1
1
0..1
*
1
*
1
*
1
*
1
1
1
1
1..*