basics.route
Class VehicleImpl.Builder
java.lang.Object
basics.route.VehicleImpl.Builder
- Enclosing class:
- VehicleImpl
public static class VehicleImpl.Builder
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setType
public VehicleImpl.Builder setType(VehicleType type)
setLocationId
public VehicleImpl.Builder setLocationId(java.lang.String id)
setLocationCoord
public VehicleImpl.Builder setLocationCoord(Coordinate coord)
setEarliestStart
public VehicleImpl.Builder setEarliestStart(double start)
setLatestArrival
public VehicleImpl.Builder setLatestArrival(double arr)
build
public VehicleImpl build()
newInstance
public static VehicleImpl.Builder newInstance(java.lang.String vehicleId)