Compare and locate hazard groups¶
Compare and locate hazard groups.
| Field | Value |
|---|---|
| Operation ID | OP-013 |
| Trigger | A caller checks equality, looks up by key, or removes a hazard group. |
| Inputs | Hazard-group object or hazard-group id |
| Outputs | Boolean match, collection item, or removal side effect |
| Primary components | clsHazardGroup |
| Entry point | Business\SAIF.Business.Policy\clsHazardGroup.vb |
Steps¶
- Compare hazard groups by
HazardGroupIDonly in the object equality and hash-code methods. - Traverse the collection linearly in
ItemByKey,Contains, andRemoveoverloads to find the matching object. - Reuse the same identity semantics for deleted-item scans and keyed removal paths.
- Apply related business rules: BR-POL-016
Process flow¶
The following diagram visualizes the main control flow for this operation.
flowchart TD
Start([Trigger]) --> Work[Execute operation steps]
Work --> Done([Return result])
Failure and edge-case behavior¶
- Business rules are cross-referenced from the catalog page and the SQL or procedure logic cited in these steps.
- Database and procedure failures surface according to the underlying implementation path.
Related documentation¶
Sources¶
Business\SAIF.Business.Policy\clsHazardGroup.vb