Figure PR.25 - Relating PhysicalPorts to Cards and Chassis : Class diagram
Created:
3/28/2022 3:51:09 PM
Modified:
10/3/2023 6:39:04 AM
Project:
Author:
Giu Platania
Version:
1.0.0
Advanced:
ID:
{00843C47-C550-4dfd-996E-24F38707DC0D}
PhysicalPorts can be placed on either a Card or a Chassis. Thus, we end up with the following Figure.<br/>Note that the EquipmentInHolder relationship enables a LineCard to be attached to a Slot. We made two distinct relationships to model the containment of Ports (PortsOnCard and PortsOnChassis) because the common superclass of LineCard and Chassis is Hardware. If we had run a relationship between Hardware and PhysicalPort, then PhysicalPorts could contain PhysicalPorts, which is not correct. In addition, this differentiation will help us in the System view, since the semantics of a PhysicalPort on a Chassis are different than those of a PhysicalPort on a Card.<br/>