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
Business object representing a search filter to search for vehicles.
- Since:
- 16.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the vehicle's code that was set as filter.Returns the vehicle's description that was set as filter.Returns the vehicle's end date that was set as filter.getId()Returns the collection of vehicle ids.Returns the operation centers associated to the vehicle that were set as filter.getOrder()Returns the order of the vehicle that was set as filter.Returns the vehicle's start date that was set as filter.voidsetCode(Collection<String> code) Sets the vehicle's code as filter.voidsetDescription(String description) Sets the vehicle's description as filter.voidsetEndDate(DateTimeRange endDate) Sets the vehicle's end date as filter.voidsetId(Collection<Long> id) Sets the list of vehicle ids.voidsetOperationCenter(Collection<Long> operationCenter) Set the operation centers associated to the vehicle as filter.voidSets the order of the vehicle as filter.voidsetStartDate(DateTimeRange startDate) Sets the vehicle's start date as filter.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
VehicleSearchFilter
public VehicleSearchFilter()
-
-
Method Details
-
getId
Returns the collection of vehicle ids.- Returns:
- the vehicle ids
-
setId
Sets the list of vehicle ids.- Parameters:
id- the vehicle ids
-
getCode
Returns the vehicle's code that was set as filter.- Returns:
- the vehicle's code
-
setCode
Sets the vehicle's code as filter.- Parameters:
code- the vehicle's code
-
getDescription
Returns the vehicle's description that was set as filter.- Returns:
- the vehicle's description
-
setDescription
Sets the vehicle's description as filter.- Parameters:
description- the vehicle's description
-
getStartDate
Returns the vehicle's start date that was set as filter.- Returns:
- the vehicle's start date
-
setStartDate
Sets the vehicle's start date as filter.- Parameters:
startDate- the vehicle's start date
-
getEndDate
Returns the vehicle's end date that was set as filter.- Returns:
- the vehicle's end date
-
setEndDate
Sets the vehicle's end date as filter.- Parameters:
endDate- the vehicle's end date
-
getOrder
Returns the order of the vehicle that was set as filter.- Returns:
- the order of the vehicle
-
setOrder
Sets the order of the vehicle as filter.- Parameters:
order- the order of the vehicle
-
getOperationCenter
Returns the operation centers associated to the vehicle that were set as filter.- Returns:
- the operation centers associated to the vehicle
-
setOperationCenter
Set the operation centers associated to the vehicle as filter.- Parameters:
operationCenter- the operation centers associated to the vehicle
-