java.lang.Object | |
↳ | com.commsignia.v2x.client.model.RoadWorks |
Represents the information container included in the alacarte container for the road work use case. It includes information of the road work zone and specific access conditions.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RoadWorks()
Create a new instance
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CauseCode |
getCauseCode()
Returns the cause code
| ||||||||||
DrivingLaneStatus |
getDrivingLaneStatus()
Returns the driving lane status.
| ||||||||||
HardShoulderStatus |
getHardShoulderStatus()
Returns the hard shoulder status.
| ||||||||||
List<ReferencePos> |
getRecommendedPath()
Returns the list of points of the recommended path.
| ||||||||||
List<DENMActionID> |
getReferenceDENMs()
Returns a list of action IDs for the reference DENMs.
| ||||||||||
Set<StationType> |
getRestriction()
Returns the types of vehicles that are restricted to access the road work zone.
| ||||||||||
Double |
getSpeedLimit(SpeedUnit unit)
Returns the speed limit in the specified unit.
| ||||||||||
DeltaReferencePosition |
getStartingPointSpeedLimit()
Returns the speed limit starting point.
| ||||||||||
TrafficRule |
getTrafficFlowRule()
Returns the traffic flow rule.
| ||||||||||
boolean |
hasLightBarAndSirenStatus()
Returns true if the light bar or siren status was set.
| ||||||||||
boolean |
hasSpeedLimit()
Returns true if the speed limit value is set.
| ||||||||||
boolean |
isLightBarActivated()
Returns the activation status of the light bar.
| ||||||||||
boolean |
isSirenActivated()
Returns the activation status of the siren.
| ||||||||||
void |
setCauseCode(CauseCode causeCode)
Sets incident identification.
| ||||||||||
void |
setClosedLanes(DrivingLaneStatus drivingLaneStatus, HardShoulderStatus hardShoulderStatus)
Sets the data field that indicates the opening/closure status of a lane or a set of lanes.
| ||||||||||
void |
setLightBarActivated(Boolean lightBarActivated)
Sets the activation status of the light bar.
| ||||||||||
void |
setRecommendedPath(List<ReferencePos> recommendedPath)
Sets the list of points of the recommended path.
| ||||||||||
void |
setReferenceDENMs(List<DENMActionID> referenceDENMs)
Sets the list of action IDs for the reference DENMs.
| ||||||||||
void |
setRestriction(Set<StationType> restriction)
Sets the types of vehicles that are restricted to access the road work zone.
| ||||||||||
void |
setRestriction(StationType... restriction)
Sets the types of vehicles that are restricted to access the road work zone.
| ||||||||||
void |
setSirenActivated(Boolean sirenActivated)
Sets the activation status of the siren.
| ||||||||||
void |
setSpeedLimit(double speedLimit, SpeedUnit speedLimitUnit)
Set the speed limitation applied to a geographical position, a road section or a geographical region.
| ||||||||||
void |
setStartingPointSpeedLimit(DeltaReferencePosition startingPointSpeedLimit)
Sets the speed limit starting point.
| ||||||||||
void |
setTrafficFlowRule(TrafficRule trafficFlowRule)
Sets the traffic flow rule.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Create a new instance
Returns the driving lane status.
Returns the hard shoulder status.
Returns the list of points of the recommended path.
Returns a list of action IDs for the reference DENMs.
Returns the types of vehicles that are restricted to access the road work zone.
Returns the speed limit in the specified unit.
unit | target unit |
---|
Returns the speed limit starting point.
Returns true if the light bar or siren status was set.
Returns true if the speed limit value is set.
Returns the activation status of the light bar.
Returns the activation status of the siren.
Sets incident identification.
causeCode | cause code |
---|
Sets the data field that indicates the opening/closure status of a lane or a set of lanes.
drivingLaneStatus | driving lane status |
---|---|
hardShoulderStatus | hard shoulder status |
Sets the activation status of the light bar.
lightBarActivated | activation status of the light bar |
---|
Sets the list of points of the recommended path. Indicates the recommended itinerary in order to contour the roadworks zone.
A recommended path is presented with a list of path points in the order from the starting point closest to the roadworks zone to the end point of the recommended path.recommendedPath | List of reference positions. |
---|
Sets the list of action IDs for the reference DENMs.
referenceDENMs | list of action IDs for the reference DENMs |
---|
Sets the types of vehicles that are restricted to access the road work zone.
restriction | list of restriction |
---|
Sets the types of vehicles that are restricted to access the road work zone.
restriction | list of restriction |
---|
Sets the activation status of the siren.
sirenActivated | activation status of the siren |
---|
Set the speed limitation applied to a geographical position, a road section or a geographical region.
speedLimit | speed limit |
---|---|
speedLimitUnit | speed unit |
Sets the speed limit starting point.
startingPointSpeedLimit | speed limit starting point |
---|
Sets the traffic flow rule.
trafficFlowRule | traffic flow rule |
---|