Class VehicleSearchFilter

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.vehicles.bl.event.VehicleSearchFilter
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class VehicleSearchFilter extends DynO
Business object representing a search filter to search for vehicles.
Since:
16.0
See Also:
  • Constructor Details

    • VehicleSearchFilter

      public VehicleSearchFilter()
  • Method Details

    • getId

      public Collection<Long> getId()
      Returns the collection of vehicle ids.
      Returns:
      the vehicle ids
    • setId

      public void setId(Collection<Long> id)
      Sets the list of vehicle ids.
      Parameters:
      id - the vehicle ids
    • getCode

      public Collection<String> getCode()
      Returns the vehicle's code that was set as filter.
      Returns:
      the vehicle's code
    • setCode

      public void setCode(Collection<String> code)
      Sets the vehicle's code as filter.
      Parameters:
      code - the vehicle's code
    • getDescription

      public String getDescription()
      Returns the vehicle's description that was set as filter.
      Returns:
      the vehicle's description
    • setDescription

      public void setDescription(String description)
      Sets the vehicle's description as filter.
      Parameters:
      description - the vehicle's description
    • getStartDate

      public DateTimeRange getStartDate()
      Returns the vehicle's start date that was set as filter.
      Returns:
      the vehicle's start date
    • setStartDate

      public void setStartDate(DateTimeRange startDate)
      Sets the vehicle's start date as filter.
      Parameters:
      startDate - the vehicle's start date
    • getEndDate

      public DateTimeRange getEndDate()
      Returns the vehicle's end date that was set as filter.
      Returns:
      the vehicle's end date
    • setEndDate

      public void setEndDate(DateTimeRange endDate)
      Sets the vehicle's end date as filter.
      Parameters:
      endDate - the vehicle's end date
    • getOrder

      public Long getOrder()
      Returns the order of the vehicle that was set as filter.
      Returns:
      the order of the vehicle
    • setOrder

      public void setOrder(Long order)
      Sets the order of the vehicle as filter.
      Parameters:
      order - the order of the vehicle
    • getOperationCenter

      public Collection<Long> getOperationCenter()
      Returns the operation centers associated to the vehicle that were set as filter.
      Returns:
      the operation centers associated to the vehicle
    • setOperationCenter

      public void setOperationCenter(Collection<Long> operationCenter)
      Set the operation centers associated to the vehicle as filter.
      Parameters:
      operationCenter - the operation centers associated to the vehicle