public abstract class BaseTrafficIncident extends TrafficIncident
Constructor and Description |
---|
BaseTrafficIncident() |
Modifier and Type | Method and Description |
---|---|
Optional<java.lang.Long> |
getId()
Gets the id of the incident.
|
Optional<java.lang.Boolean> |
getIsLeftHandTraffic()
Gets the value which indicates if the road has left-hand traffic.
|
Optional<java.lang.Integer> |
getMagnitude()
Gets the magnitude of delay associated with the incident.
|
Optional<java.lang.String> |
getRoadType()
Gets the tag value describing the road type.
|
Optional<java.lang.String> |
getTrafficRoadCoverage()
Gets the tag value that describes if the traffic is assigned to the whole road (one-way road), or only to one side (two-way road).
|
protected void |
setId(long id) |
protected void |
setIsLeftHandTraffic(boolean isLeftHandTraffic) |
protected void |
setMagnitude(int magnitude) |
protected void |
setRoadType(java.lang.String roadType) |
protected void |
setTrafficRoadCoverage(java.lang.String trafficRoadCoverage) |
public Optional<java.lang.Long> getId()
public Optional<java.lang.String> getRoadType()
public Optional<java.lang.Boolean> getIsLeftHandTraffic()
public Optional<java.lang.Integer> getMagnitude()
public Optional<java.lang.String> getTrafficRoadCoverage()
protected void setId(long id)
protected void setRoadType(java.lang.String roadType)
protected void setIsLeftHandTraffic(boolean isLeftHandTraffic)
protected void setMagnitude(int magnitude)
protected void setTrafficRoadCoverage(java.lang.String trafficRoadCoverage)