ASIL

class ASIL(val value: Int, val originalValue: Int = 0) : Comparable<ASIL> , Serializable

Automotive safety classification with its original, pre-decomposition level.

value uses QM=0, A=1, B=2, C=3, D=4. originalValue is 0 when no decomposition notation is present, otherwise A=1 through D=4. Thus ASIL.B is ASIL(2, 0), ASIL.B_B is ASIL(2, 2), and ASIL.B_D is ASIL(2, 4). Ordering, equality, and hashing use only value: QM equals QM(B), and B equals B(D). originalValue remains available for notation and serialization.

Constructors

Link copied to clipboard
constructor(value: Int, originalValue: Int = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Numeric classification value; decomposition does not change comparison strength.

Link copied to clipboard

Compact display label, including the original level when decomposed.

Link copied to clipboard

Stable identifier used in configuration and exchange files.

Link copied to clipboard

Human-readable classification, retaining decomposition parentheses.

Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
open operator override fun compareTo(other: ASIL): Int
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Generated with STIG