Figure PR.13 - Hardware in More Detail

Header Image
Project:
Figure PR.13 - Hardware in More Detail : Class diagram
Created: 3/28/2022 3:51:09 PM
Modified: 10/3/2023 6:28:27 AM
Project:
Advanced:
The various physical components that make up a PhysicalDevice have so far been grouped into a single class called Hardware. In looking for common attributes for these three very different types of entities, we find that dimensions and weight are all common attributes of these three entities. Therefore, we can add these attributes to the Hardware class (not to PhysicalDevice, since we can derive these attributes for a PhysicalDevice from the Hardware entities that make up a PhysicalDevice). The following Figure shows these changes to the Hardware class.<br/>The ContainsHardware aggregation defines the ability for a given Hardware object to contain other Hardware objects. This enables the different managed hardware components that make up a device to be explicitly defined.<br/>