Class DTOInterventionResourceUpdate
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.rs1.interventionresource.DTOInterventionResourceUpdate
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO for intervention resource update
- 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 TypeMethodDescriptionReturns the arrival on site date of the intervention.Gets whether the work order operation resource had a missed participation.Gets whether the work order operation resource's spent time is locked.getNote()Gets the note associated with this work order operation resource.Gets the date and time when the outcome of the intervention was ended.Gets the date and time when the outcome of the intervention was started.Gets the spent time.Gets the date and time when the intervention was taken in charge.voidsetArrivalDate(Optional<ZonedDateTime> arrivalDate) Sets the arrival on site date of the intervention.voidsetCustomerAbsent(Optional<Boolean> customerAbsent) Sets whether the work order operation resource had a missed participation.voidsetLockSpentTime(Optional<Boolean> lockSpentTime) Sets whether the work order operation resource's spent time is locked.voidSets the note associated with this work order operation resource.voidsetOutcomeEndDate(Optional<ZonedDateTime> outcomeEndDate) Sets the date and time when the outcome of the intervention was ended.voidsetOutcomeStartDate(Optional<ZonedDateTime> outcomeStartDate) Sets the date and time when the outcome of the intervention was started.final voidsetSpentTime(Optional<Double> spentTime) Sets the spent time.voidsetTakeInChargeDate(Optional<ZonedDateTime> takeInChargeDate) Sets the date and time when the intervention was taken in charge.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
-
DTOInterventionResourceUpdate
public DTOInterventionResourceUpdate()
-
-
Method Details
-
getSpentTime
Gets the spent time.- Returns:
- the spent time
-
setSpentTime
Sets the spent time.- Parameters:
spentTime- the new spent time
-
getTakeInChargeDate
Gets the date and time when the intervention was taken in charge.- Returns:
- the take in charge date
-
setTakeInChargeDate
Sets the date and time when the intervention was taken in charge.- Parameters:
takeInChargeDate- the new take in charge date
-
getArrivalDate
Returns the arrival on site date of the intervention.- Returns:
- the arrival on site date as a ZonedDateTime object
-
setArrivalDate
Sets the arrival on site date of the intervention.- Parameters:
arrivalDate- the arrival on site date to be set
-
getOutcomeStartDate
Gets the date and time when the outcome of the intervention was started.- Returns:
- the outcome start date
-
setOutcomeStartDate
Sets the date and time when the outcome of the intervention was started.- Parameters:
outcomeStartDate- the date and time when the outcome of the intervention was started
-
getOutcomeEndDate
Gets the date and time when the outcome of the intervention was ended.- Returns:
- the outcome end date
-
setOutcomeEndDate
Sets the date and time when the outcome of the intervention was ended.- Parameters:
outcomeEndDate- the date and time when the outcome of the intervention was ended
-
getNote
Gets the note associated with this work order operation resource.- Returns:
- the note
-
setNote
Sets the note associated with this work order operation resource.- Parameters:
note- the note associated with this work order operation resource.
-
getCustomerAbsent
Gets whether the work order operation resource had a missed participation.- Returns:
- true if the work order operation resource had a missed participation, false otherwise
-
setCustomerAbsent
Sets whether the work order operation resource had a missed participation.- Parameters:
customerAbsent- true if the work order operation resource had a missed participation, false otherwise
-
getLockSpentTime
Gets whether the work order operation resource's spent time is locked.- Returns:
- true if the spent time is locked, false otherwise
-
setLockSpentTime
Sets whether the work order operation resource's spent time is locked.- Parameters:
lockSpentTime- true if the work order operation resource spend time is locked, false otherwise
-