Class DTOInterventionResourceInsert
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.rs1.interventionresource.DTOInterventionResourceInsert
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO for intervention resource insert.
- 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 the intervention.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.final LongGets the resource.final DoubleGets the spent time.Gets the date and time when the intervention was taken in charge.Gets the hour type associated with this work order operation resource.voidsetArrivalDate(ZonedDateTime arrivalDate) Sets the arrival on site date of the intervention.voidsetCustomerAbsent(Boolean customerAbsent) Sets whether the work order operation resource had a missed participation.voidsetIntervention(Long intervention) Sets the intervention.voidsetLockSpentTime(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(ZonedDateTime outcomeEndDate) Sets the date and time when the outcome of the intervention was ended.voidsetOutcomeStartDate(ZonedDateTime outcomeStartDate) Sets the date and time when the outcome of the intervention was started.final voidsetResource(Long resource) Sets the resource.final voidsetSpentTime(Double spentTime) Sets the spent time.voidsetTakeInChargeDate(ZonedDateTime takeInChargeDate) Sets the date and time when the intervention was taken in charge.voidsetWorkingHourType(Long workingHourType) Sets the hour type associated with this work order operation 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
-
DTOInterventionResourceInsert
public DTOInterventionResourceInsert()
-
-
Method Details
-
getResource
Gets the resource.- Returns:
- the resource
-
setResource
Sets the resource.- Parameters:
resource- the new resource
-
getIntervention
Gets the intervention.- Returns:
- the intervention
-
setIntervention
Sets the intervention.- Parameters:
intervention- the new intervention
-
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
-
getWorkingHourType
Gets the hour type associated with this work order operation resource.- Returns:
- the hour type
-
setWorkingHourType
Sets the hour type associated with this work order operation resource.- Parameters:
workingHourType- the hour type associated with this work order operation resource.
-
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
-