public class TrafficIncidentPoi extends BaseTrafficIncident implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected Optional<java.lang.Integer> |
clusterId |
protected Optional<LatLng> |
coordinates |
protected Optional<java.lang.Integer> |
delay |
protected Optional<java.lang.String> |
description |
protected Optional<java.lang.Double> |
heading |
protected Optional<java.lang.Integer> |
iconCategory |
protected Optional<java.lang.String> |
iconName |
protected Optional<java.lang.String> |
poiType |
Constructor and Description |
---|
TrafficIncidentPoi() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TrafficIncidentVisitor visitor) |
Optional<java.lang.Integer> |
getClusterId()
Gets the Id of the parent cluster if the incident is clustered.
|
Optional<LatLng> |
getCoordinates()
Gets the point representing the position of the POI (Points of Interest).
|
Optional<java.lang.Integer> |
getDelay()
Gets the delay caused by the incident in seconds (except in road closures).
|
Optional<java.lang.String> |
getDescription()
Gets the description of the incident.
|
Optional<java.lang.Double> |
getHeading()
Gets the direction of the traffic incident.
|
Optional<java.lang.Integer> |
getIconCategory()
Gets the icon category associated with this incident.
|
Optional<java.lang.String> |
getIconName()
Gets the icon name associated with this incident.
|
Optional<java.lang.String> |
getPoiType()
Gets the poi type.
|
getId, getIsLeftHandTraffic, getMagnitude, getRoadType, getTrafficRoadCoverage, setId, setIsLeftHandTraffic, setMagnitude, setRoadType, setTrafficRoadCoverage
protected Optional<java.lang.String> poiType
protected Optional<java.lang.Integer> delay
protected Optional<java.lang.String> description
protected Optional<java.lang.Double> heading
protected Optional<java.lang.Integer> iconCategory
protected Optional<java.lang.String> iconName
protected Optional<java.lang.Integer> clusterId
public Optional<java.lang.String> getPoiType()
public Optional<java.lang.Integer> getDelay()
public Optional<java.lang.String> getDescription()
public Optional<java.lang.Double> getHeading()
public Optional<java.lang.Integer> getIconCategory()
public Optional<java.lang.String> getIconName()
public Optional<java.lang.Integer> getClusterId()
public Optional<LatLng> getCoordinates()
public void accept(TrafficIncidentVisitor visitor)
accept
in interface com.tomtom.online.sdk.common.util.Visitable<TrafficIncidentVisitor>