java.lang.Object | |
↳ | com.commsignia.v2x.client.model.PrimaryCause<S extends com.commsignia.v2x.client.model.BaseSubCauseCode> |
Cause code values for detected events.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
int |
getCustomCauseCode()
Returns the custom cause code for this primary cause.
| ||||||||||
String |
getName()
Returns the name of this primary cause.
| ||||||||||
int | hashCode() | ||||||||||
boolean |
isCustomPrimaryCause()
Returns true if this primary cause object contains a custom cause code.
| ||||||||||
static PrimaryCause |
of(int customCauseCode)
Creates a primary cause with the specified custom cause code.
| ||||||||||
String | toString() | ||||||||||
CauseCode |
withSubCause(int subCauseCode)
Create a cause code instance with the selected primary cause and the specified custom sub cause code
| ||||||||||
CauseCode |
withSubCause(S subCause)
Create a cause code instance with the selected primary cause and the specified sub cause
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Constant for adverse weather condition adhesion
Constant for adverse weather condition extreme weather condition
Constant for adverse weather condition precipitation
Constant for adverse weather condition visibility
Constant for collision risk
Constant for dangerous end of queue
Constant for dangerous situation
Constant for emergency vehicle approaching
Constant for hazardous location animal on the road
Constant for hazardous location dangerous curve
Constant for hazardous location obstacle on the road
Constant for hazardous location surface condition
Constant for human presence on the road
Constant for rescue and recovery work in progress
Constant for signal violation
Constant for stationary vehicle
Constant for traffic condition
Constant for vehicle breakdown
Constant for wrong way driving
Returns the custom cause code for this primary cause.
Returns the name of this primary cause.
Returns true if this primary cause object contains a custom cause code.
Creates a primary cause with the specified custom cause code.
customCauseCode | custom cause code |
---|
Create a cause code instance with the selected primary cause and the specified custom sub cause code
subCauseCode | custom sub cause code |
---|
Create a cause code instance with the selected primary cause and the specified sub cause
subCause | sub cause |
---|