Professional Documents
Culture Documents
Case Study CTTS - Milestone 07 Object Analysis Solution
Case Study CTTS - Milestone 07 Object Analysis Solution
Page: 7-1
Page: 7-2
Page: 7-3
Equipment
Equipment Component
Finish Time
In Service Date
Notes
The street address, city, state,
and zip of a client
A unique identifier stamped on
each component in inventory or
installed in equipment.
Someone who Coastline works
for. They may own equipment
serviced by Coastline.
The name of the client.
A classification of components,
such as NIC, video card,
mouse, keyboard, etc.
A software configuration setting
for the client.
The first and last name of the
contact person for a client.
The date a component was
installed in a piece of
equipment.
The date an inventory item was
purchased.
The date a component was
removed from a piece of
equipment
The IP address of a piece of
equipment on a client network.
The client's e-mail address.
Each piece of equipment can
be given a name.
We need to track whether a
piece of equipment is a PC, a
printer, a network device, or
something else.
Equipment that is owned by a
client and serviced by
Coastline.
Equipment is made up of its
components. Some
components are an entire
computer or printer (because
they are purchased as a unit).
Some are component pieces
such as monitors, mice, etc.
The ending time for a work
record.
When a piece of equipment
was placed in service.
Obj
X
Reason
Attribute of Client
Attribute of Inventory
Attribute of Client
Attribute of Client
Attribute of Equipment Component
X
X
Attribute of Equipment
Attribute of Equipment Component
X
X
X
X
Instance of Configuration
Attribute of Client
Attribute of Equipment
X
X
Start Time
Technician
User Name
User Password
X
X
Page: 7-4
Attribute of Configuration
Attribute of Configuration
Attribute of Equipment Component
X
X
X
X
Attribute of Inventory
A specialized type of User
Attribute of Inventory
Attribute of Client
A synonym for Service Request
Attribute of Service Request
Attribute of Equipment Component
X
X
X
X
X
X
X
X
X
Page: 7-5
Attribute of Inventory
Attribute of Work Record
Attribute of Work Record
Page: 7-6
Class Diagram
Again, answers could vary somewhat depending on student assumptions. One solution is shown
below.
Class diagrams should not include foreign key attributes. Foreign key is a relational database
concept that is not used in object-oriented analysis.
The Gen/Spec hierarchy can be inferred from the User object.
Some students might try to make a Gen/Spec relationship with EquipType and Equipment. If
the data storage requirements or behaviors were different for the various EquipType
instances, then a Gen/Spec can be justified. But the provided solution is based on the
assumption that all types of equipment would have an equipName and a dateInservice and no
other data attributes.
A case could be made for leaving EquipType and ComponentType off the object list and the
class diagram. They mainly exist to provide lookup capabilities for Equipment and
EquipmentComponent, which is essentially an implementation issue.