JMU
Class Models
for Engineering Design


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Overview
Class Models for Engineering Design
Contents of Class Models for Engineering Design
The Process
  1. Identify all of the classes
  2. Identify attributes of each class
  3. Identify methods
  4. Add type/signature information
  5. Add associations ("use"), aggregations ("has a"), and specializations ("is a")
  6. Replace classes with interfaces (as appropriate)
  7. Add dependencies (where needed)
Classes in UML

The Basics

images/class_uml.gif
Classes in UML (cont.)

Visibility

Relationships: Association
Relationships: Dependency
Relationships: Specialization
Relationships: Aggregation
Relationships: Composition
Interfaces in UML
Interfaces in UML (cont.)

An Example

images/UML-interfaces.gif