com.google.maps.gwt.client
Class DistanceMatrixResponseElement

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.DistanceMatrixResponseElement

public class DistanceMatrixResponseElement
extends JavaScriptObject

A single element of a response to a DistanceMatrixService request, which contains the duration and distance from one origin to one destination. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected DistanceMatrixResponseElement()
          Protected constructor avoids default public constructor.
 
Method Summary
 Distance getDistance()
          The distance for this origin-destination pairing.
 Duration getDuration()
          The duration for this origin-destination pairing.
 DistanceMatrixElementStatus getStatus()
          The status of this particular origin-destination pairing.
 void setDistance(Distance distance)
          The distance for this origin-destination pairing.
 void setDuration(Duration duration)
          The duration for this origin-destination pairing.
 void setStatus(DistanceMatrixElementStatus status)
          The status of this particular origin-destination pairing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DistanceMatrixResponseElement

protected DistanceMatrixResponseElement()
Protected constructor avoids default public constructor.

Method Detail

getDistance

public final Distance getDistance()
The distance for this origin-destination pairing. This property may be undefined as the distance may be unknown.


getDuration

public final Duration getDuration()
The duration for this origin-destination pairing. This property may be undefined as the duration may be unknown.


getStatus

public final DistanceMatrixElementStatus getStatus()
The status of this particular origin-destination pairing.


setDistance

public final void setDistance(Distance distance)
The distance for this origin-destination pairing. This property may be undefined as the distance may be unknown.


setDuration

public final void setDuration(Duration duration)
The duration for this origin-destination pairing. This property may be undefined as the duration may be unknown.


setStatus

public final void setStatus(DistanceMatrixElementStatus status)
The status of this particular origin-destination pairing.