Hazard
data class Hazard(val id: HazardId, val expirationTime: Date, val type: HazardType, val category: HazardCategory, val severity: HazardSeverity, val detailedInformation: DetailedHazardInformation?, val location: HazardLocation, val version: Int, val openLocationReference: OpenLocationReference?)
A hazard entry.
Constructors
Link copied to clipboard
constructor(id: HazardId, expirationTime: Date, type: HazardType, category: HazardCategory, severity: HazardSeverity, detailedInformation: DetailedHazardInformation?, location: HazardLocation, version: Int, openLocationReference: OpenLocationReference?)
Properties
Link copied to clipboard
The HazardCategory aggregates the different types at a higher level.
Link copied to clipboard
The DetailedHazardInformation the basis for the individual hazard types. Each type may have additional information.
Link copied to clipboard
Expiration time of the hazard data.
Link copied to clipboard
Describes where the hazard is happening.
Link copied to clipboard
Location reference in the OpenLR format, base64 encoded.
Link copied to clipboard
The HazardSeverity of a hazard describes its criticality with respect to the danger.
Link copied to clipboard
The HazardType defines the nature of a hazard. It is the lowest level of categorization.