public abstract class ApiVehicleAbstract
extends java.lang.Object
The solution is to use the abstract class ApiVehicleAbstract. Then can implement ApiVehicle and ApiVehicleDetails to inherit from ApiVehicleAbstract and those classes can each set propOrder as desired. Yes, this is rather complicated, but it works.
Constructor and Description |
---|
ApiVehicleAbstract(IpcVehicle vehicle,
TransitimeApi.UiMode uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
public ApiVehicleAbstract(IpcVehicle vehicle, TransitimeApi.UiMode uiType)
vehicle
- uiType
- If should be labeled as "minor" in output for UI.