public class TrafficIncidentCluster extends TrafficIncident implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected Optional<java.lang.Integer> |
clusterId |
protected Optional<LatLng> |
coordinates |
protected Optional<java.lang.String> |
description |
protected Optional<java.lang.Integer> |
iconCategory |
protected Optional<java.lang.String> |
iconName |
Constructor and Description |
---|
TrafficIncidentCluster() |
Modifier and Type | Method and Description |
---|---|
void |
accept(TrafficIncidentVisitor visitor) |
Optional<java.lang.Integer> |
getClusterId()
Gets the cluster id.
|
Optional<LatLng> |
getCoordinates()
Gets the point representing the position of the cluster.
|
Optional<java.lang.String> |
getDescription()
Gets the cluster description.
|
Optional<java.lang.Integer> |
getIconCategory()
Gets the icon category associated with the cluster.
|
Optional<java.lang.String> |
getIconName()
Gets the icon name associated with the cluster.
|
protected Optional<java.lang.String> description
protected Optional<java.lang.Integer> clusterId
protected Optional<java.lang.Integer> iconCategory
protected Optional<java.lang.String> iconName
public Optional<java.lang.String> getDescription()
public Optional<java.lang.Integer> getClusterId()
public Optional<java.lang.Integer> getIconCategory()
public Optional<java.lang.String> getIconName()
public Optional<LatLng> getCoordinates()
public void accept(TrafficIncidentVisitor visitor)
accept
in interface com.tomtom.online.sdk.common.util.Visitable<TrafficIncidentVisitor>