Professional Documents
Culture Documents
DomainModelRefinement Unit 5
DomainModelRefinement Unit 5
Payment
not useful
* Is-in 1
Payment PaymentState better
Unauthorized Authorized
State State
role name
Person
2
*
child
parent
Creates
Employs-to-manage
1 manager
*
Store Employs-to-handle-sales * Person
cashier
1
*
manager worker
Manages
roles as concepts
Store
1 Employs * Manager
1
Manages
1
Employs * Cashier
*
CS6359 Fall 2011 John Cole 22
Qualified Associations
• A qualifier may be used in an association. The
qualifier value makes each thing on the left
unique.
• Use carefully; they don’t usually add new
information.(a) Product Contains Product
Catalog Specification
1 1..*
1 1
Product Contains Product
(b) itemID
Catalog Specification
Person
2
*
parent child
Creates
Authorization
Transactions
Core/Misc
Store
Houses
Register Manager
address 1 1..*
name
1..*
1
Employs
1 Authorizes-payments-of
1..*
Paid-by
Check
1
1
Check Credit
CashPayment Credit Check Authorized-by Authorization Authorization
amountTendered
Payment Payment
* 1
Service Service
* * * * 1
Authorized-by
Logs
Establishes- Establishes-
credit-for identity-for
Authorization Transactions::
1 1 1
PaymentAuthorizationReply
Accounts CreditCard DriversLicense
Receivable
expiryDate number
number - CheckPayments have
1
Identifies CheckPaymentReplies
1 1
Abused-by - CreditPayments have
Sales::Customer
1 CreditPaymentReplies