Class DTOInterventionResource
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.rs1.interventionresource.DTOInterventionResource
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO representing an intervention resource.
- Since:
- 18.0
- See Also:
- GCApi:
- dto
-
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 TypeMethodDescriptionfinal ZonedDateTimeGets the arrival date of the intervention.final BooleanGets whether the customer was absent during the intervention.final LongGets the intervention ID associated with this intervention resource.final LongGets the manual lock user associated with this intervention resource.final StringgetNote()Gets the note associated with this intervention resource.final ZonedDateTimeGets the date when the intervention outcome ended.final ZonedDateTimeGets the date when the intervention outcome started.final LongGets the resource associated with this intervention resource.final DoubleGets the amount of time spent on this intervention resource.final ZonedDateTimeGets the date when the intervention resource was taken in charge.Gets the validation date associated with this intervention resource.Gets the validation status associated with this intervention resource.Gets the user associated with the validation of this intervention resource.final LongGets the working hour type associated with this intervention resource.final LongGets the work order operation associated with this intervention resource.final LongGets the work shift associated with this intervention resource.final voidsetArrivalDate(ZonedDateTime arrivalDate) Sets the arrival date of the intervention.final voidsetCustomerAbsent(Boolean customerAbsent) Sets whether the customer was absent during the intervention.final voidsetIntervention(Long intervention) Sets the intervention ID associated with this intervention resource.final voidsetManualLockUser(Long manualLockUser) Sets the manual lock user associated with this intervention resource.final voidSets the note associated with this intervention resource.final voidsetOutcomeEndDate(ZonedDateTime outcomeEndDate) Sets the date when the intervention outcome ended.final voidsetOutcomeStartDate(ZonedDateTime outcomeStartDate) Sets the date when the intervention outcome started.final voidsetResource(Long resource) Sets the resource associated with this intervention resource.final voidsetSpentTime(Double spentTime) Sets the amount of time spent on this intervention resource.final voidsetTakeInChargeDate(ZonedDateTime takeInChargeDate) Sets the date when the intervention resource was taken in charge.voidsetValidationDate(ZonedDateTime validationDate) Sets the validation date associated with this intervention resource.voidsetValidationStatus(Long validationStatus) Sets the validation status associated with this intervention resource.voidsetValidationUser(Long validationUser) Sets the user associated with the validation of this intervention resource.final voidsetWorkingHourType(Long workingHourType) Sets the working hour type associated with this intervention resource.final voidsetWorkOrderOperation(Long workOrderOperation) Sets the work order operation associated with this intervention resource.final voidsetWorkShift(Long workShift) Sets the work shift associated with this intervention resource.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
-
DTOInterventionResource
public DTOInterventionResource()
-
-
Method Details
-
getIntervention
Gets the intervention ID associated with this intervention resource.- Returns:
- the intervention ID
-
setIntervention
Sets the intervention ID associated with this intervention resource.- Parameters:
intervention- the intervention ID to set
-
getResource
Gets the resource associated with this intervention resource.- Returns:
- the resource
-
setResource
Sets the resource associated with this intervention resource.- Parameters:
resource- the resource to set
-
getSpentTime
Gets the amount of time spent on this intervention resource.- Returns:
- the spent time
-
setSpentTime
Sets the amount of time spent on this intervention resource.- Parameters:
spentTime- the spent time to set
-
getWorkOrderOperation
Gets the work order operation associated with this intervention resource.- Returns:
- the work order operation
-
setWorkOrderOperation
Sets the work order operation associated with this intervention resource.- Parameters:
workOrderOperation- the work order operation to set
-
getWorkingHourType
Gets the working hour type associated with this intervention resource.- Returns:
- the working hour type
-
setWorkingHourType
Sets the working hour type associated with this intervention resource.- Parameters:
workingHourType- the working hour type to set
-
getTakeInChargeDate
Gets the date when the intervention resource was taken in charge.- Returns:
- the take in charge date
-
setTakeInChargeDate
Sets the date when the intervention resource was taken in charge.- Parameters:
takeInChargeDate- the take in charge date to set
-
getArrivalDate
Gets the arrival date of the intervention.- Returns:
- the arrival date
-
setArrivalDate
Sets the arrival date of the intervention.- Parameters:
arrivalDate- the arrival date to set
-
getOutcomeStartDate
Gets the date when the intervention outcome started.- Returns:
- the outcome start date
-
setOutcomeStartDate
Sets the date when the intervention outcome started.- Parameters:
outcomeStartDate- the outcome start date to set
-
getOutcomeEndDate
Gets the date when the intervention outcome ended.- Returns:
- the outcome end date
-
setOutcomeEndDate
Sets the date when the intervention outcome ended.- Parameters:
outcomeEndDate- the outcome end date to set
-
getCustomerAbsent
Gets whether the customer was absent during the intervention.- Returns:
- true if the customer was absent, false otherwise
-
setCustomerAbsent
Sets whether the customer was absent during the intervention.- Parameters:
customerAbsent- true if the customer was absent, false otherwise
-
getNote
Gets the note associated with this intervention resource.- Returns:
- the note
-
setNote
Sets the note associated with this intervention resource.- Parameters:
note- the note to set
-
getWorkShift
Gets the work shift associated with this intervention resource.- Returns:
- the work shift
-
setWorkShift
Sets the work shift associated with this intervention resource.- Parameters:
workShift- the work shift to set
-
getManualLockUser
Gets the manual lock user associated with this intervention resource.- Returns:
- the manual lock user
-
setManualLockUser
Sets the manual lock user associated with this intervention resource.- Parameters:
manualLockUser- the manual lock user to set
-
getValidationStatus
Gets the validation status associated with this intervention resource.- Returns:
- the validation status
-
setValidationStatus
Sets the validation status associated with this intervention resource.- Parameters:
validationStatus- the validation status to set
-
getValidationUser
Gets the user associated with the validation of this intervention resource.- Returns:
- the validation users
-
setValidationUser
Sets the user associated with the validation of this intervention resource.- Parameters:
validationUser- the validation users to set
-
getValidationDate
Gets the validation date associated with this intervention resource.- Returns:
- the validation date
-
setValidationDate
Sets the validation date associated with this intervention resource.- Parameters:
validationDate- the validation date to set
-