public class ApiVehicle extends ApiVehicleAbstract
Note: @XmlType(propOrder=""...) is used to get the elements to be output in desired order instead of the default of alphabetical. This makes the resulting JSON/XML more readable.
Constructor and Description |
---|
ApiVehicle(IpcVehicle vehicle)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
ApiVehicle(IpcVehicle vehicle,
TransitimeApi.UiMode uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
public ApiVehicle(IpcVehicle vehicle, TransitimeApi.UiMode uiType)
vehicle
- uiType
- If should be labeled as "minor" in output for UI.public ApiVehicle(IpcVehicle vehicle)
vehicle
-