Class EnRouteDelivery

All Implemented Interfaces:
HasId, HasIndex, Job

public class EnRouteDelivery extends Service
Delivery extends Service and is intended to model a Service where smth is UNLOADED (i.e. delivered) from a transport unit.
Author:
schroeder
  • Method Details

    • getJobType

      public Job.Type getJobType()
      Specified by:
      getJobType in interface Job
      Overrides:
      getJobType in class Service
    • isPickedUpAtVehicleStart

      public boolean isPickedUpAtVehicleStart()
      Description copied from interface: Job
      Indicates whether this job is picked up at the vehicle's start location. By default, only Delivery jobs are picked up at the vehicle's start location.
      Returns:
      true if job is picked up at vehicle start, false otherwise
    • isDeliveredToVehicleEnd

      public boolean isDeliveredToVehicleEnd()
      Description copied from interface: Job
      Indicates whether this job is delivered to the vehicle's end location. By default, only Pickup and Service jobs are delivered to the vehicle's end location.
      Returns:
      true if job is delivered to vehicle end, false otherwise