Class Diagram From the Conceptual Perspective

Example of using Class Diagram From the Conceptual Perspective by Yelena Gelfand. Instructor Jeff Zhuk

Order
dataReceived
isPrepaid: boolean
number: String
*1
______
Customer
ship To: Address
bill To: Address
*2
______
Address
addressLine1
addressLine2
city
state
postalCode
country
|
|1
|
|*
|
|
|1
|1
|
|
|
|
|
|
|
|
|_0..1__
Employee
manager
department
dependents
SSN
------->
Person
ID
firstName
lastName
initial
homeAddr:
Address
|*
Order Line
quantity: Integer
price: Money
*1
_____
Item
number: String
description: String
unitPrice: Money
 
Legend
Class Name
Attributes:
Operations:
Classes
______ Relationships
0..1,1,* Multiplicities

 
Figure 6-3 Conceptual Perspective Class Diagram for the Receive Order Use Case

Follow these steps when you create a conceptual perspective class diagram:

  1. Select a use case.
  2. Add the objects and variables of the use case to the diagram.
  3. Add the association relationships.
  4. Add multiplicities.
  5. Add subtype relationships.
  6. Repeat steps 1-5 for each additional use case, adding detail to the same class diagram.

    A class diagram for SuperBell is shown in Figure 6-3

    Back