Description of the illustration addci029.gif
This illustration shows the UML class diagram that models the application objects for the Power Demand Sample Data Cartridge.
A Power Cartridge User stores and retrieves Hourly Demand Status instances associated with a Regional Grid whose Sensors and Cameras supply Cell Temperature Readings and Satellite Images, respectively, for each Cell in the grid.
- 
                  
Power Cartridge User
- 
                        
Relationship: 1 to many "retrieves" and "stores" association with Hourly Demand Status
 
 - 
                        
 - 
                  
Regional Grid
- 
                        
Attribute: "Grid No"
 - 
                        
Relationships: 1 to many association with Hourly Demand Status, and an is an aggregation of Locator
 
 - 
                        
 - 
                  
Hourly Demand Status
- 
                        
Attributes: "Date", "Time", "TotalGridDemand", "MaxCellDemand", "MinCellDemand"
 - 
                        
Methods: "calcTotalGridDemand()", "getMaxCellDemand()", "getMinCellDemand()", "isEqualToSpecificCell()", "isEqualToAnyCell()"
 - 
                        
Relationships: many to 1 "association with Regional Grid, many to 1 "retrieves" and "stores" association with Power Cartridge User, and 1 to 100 aggregation of Cell Demand Reading
 
 - 
                        
 - 
                  
Locator
- 
                        
Attributes: "NW", "NE", "SW", "SE"
 - 
                        
Relationships: 1 to 1 aggregation component of Cell, and an aggregation component of Regional Grid
 
 - 
                        
 - 
                  
Cell Demand Reading
- 
                        
Attributes: "CellNo", "Demand"
 - 
                        
Relationships: 1 to 1 aggregation "reads demand for" of Cell, and 100 to 1 aggregation component of Hourly Demand Status
 
 - 
                        
 - 
                  
Cell
- 
                        
Attribute: "CellNo"
 - 
                        
Relationships: 1 to 1 aggregation of Meter, 1 to 1 aggregation of Locator, 1 to 2 aggregation of Grid Coordinate, 1 to 1 aggregation component of Cell Demand Reading, 1 to 1 "reads temperature" association with Cell Temperature Reading, and 1 to 1 "provides matching image" association with Satellite Image
 
 - 
                        
 - 
                  
Meter
- 
                        
Relationship: 1 to 1 aggregation component of Cell
 
 - 
                        
 - 
                  
Grid Coordinate
- 
                        
Attributes: "x" and "y"
 - 
                        
Relationship: 2 to 1 aggregation component of Cell
 
 - 
                        
 - 
                  
Cell Temperature Reading
- 
                        
Attribute: "Temperature"
 - 
                        
Relationships: 1 to 1 "reads temperature" association with Cell, and 1 to 1 "senses" aggregation of Sensor
 
 - 
                        
 - 
                  
Satellite Image
- 
                        
Attribute: "GreyScaleValue"
 - 
                        
Relationships: 1 to 1 "provides matching image" association with Cell, and 1 to many "photographs" aggregation of Camera
 
 - 
                        
 - 
                  
Sensor
- 
                        
Relationship: 1 to 1 "senses" aggregation component of Cell Temperature Reading
 
 - 
                        
 - 
                  
Camera
- 
                        
Relationship: many to 1 "photographs" aggregation component of Satellite Image
 
 -