public class Vehicle
extends java.lang.Object
See Transit details for more detail.
Modifier and Type | Field and Description |
---|---|
java.lang.String |
icon
icon contains the URL for an icon associated with this vehicle type. |
java.lang.String |
name
name contains the name of the vehicle on this line. |
VehicleType |
vehicle
vehicle contains the type of vehicle that runs on this line. |
Constructor and Description |
---|
Vehicle() |
public java.lang.String name
name
contains the name of the vehicle on this line. eg. "Subway."public VehicleType vehicle
vehicle
contains the type of vehicle that runs on this line. See the
VehicleType
documentation for a complete list of
supported values.public java.lang.String icon
icon
contains the URL for an icon associated with this vehicle type.