v2x-client
| java.lang.Object | |
| ↳ | com.commsignia.v2x.client.model.EmergencyPriority |
Represents the emergency priority of a CAM message.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
EmergencyPriority()
Creates a new instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| int | hashCode() | ||||||||||
| boolean |
isRequestForFreeCrossingAtATrafficLight()
Returns true if this is a request for free crossing at a traffic light.
| ||||||||||
| boolean |
isRequestForRightOfWay()
Returns true if this is a request for right of way.
| ||||||||||
| void |
setRequestForFreeCrossingAtATrafficLight(boolean requestForFreeCrossingAtATrafficLight)
Sets whether this is a request for free crossing at a traffic light.
| ||||||||||
| void |
setRequestForRightOfWay(boolean requestForRightOfWay)
Sets whether this is a request for right of way.
| ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Creates a new instance.
Returns true if this is a request for free crossing at a traffic light. This status can only be set by authorized vehicles e.g. rescue, police, ambulance etc.
Returns true if this is a request for right of way. This status can only be set by authorizes vehicles e.g. rescue, police, ambulance etc.
Sets whether this is a request for free crossing at a traffic light. This status can only be set by authorized vehicles e.g. rescue, police, ambulance etc.
| requestForFreeCrossingAtATrafficLight | true if this is a request for free crossing at a traffic light, false otherwise |
|---|
Sets whether this is a request for right of way. This status can only be set by authorizes vehicles e.g. rescue, police, ambulance etc.
| requestForRightOfWay | true if this is a request for right of way |
|---|