Class DTOIntervention
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.execution.rs1.intervention.DTOIntervention
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO for intervention
- 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 LongReturns the default duration.final ZonedDateTimeGets the end date.final LongGets the foremanfinal LonggetId()Gets the id.final ZonedDateTimeGets the start date.final LongGets the status.final LongGets the work order operation.final voidsetDefaultDuration(Long defaultDuration) Sets the default duration.final voidsetEndDate(ZonedDateTime endDate) Sets the end date.final voidsetForeman(Long foreman) Sets the foremanfinal voidSets the id.final voidsetStartDate(ZonedDateTime startDate) Sets the start date.final voidSets the status.final voidsetWorkOrderOperation(Long workOrderOperation) Sets the work order operation.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
-
DTOIntervention
public DTOIntervention()
-
-
Method Details
-
getId
Gets the id.- Returns:
- the id
-
setId
Sets the id.- Parameters:
id- the new id
-
getStatus
Gets the status.- Returns:
- the status
-
setStatus
Sets the status.- Parameters:
status- the new status
-
getStartDate
Gets the start date.- Returns:
- the start date
-
setStartDate
Sets the start date.- Parameters:
startDate- the new start date
-
getEndDate
Gets the end date.- Returns:
- the end date
-
setEndDate
Sets the end date.- Parameters:
endDate- the new end date
-
getWorkOrderOperation
Gets the work order operation.- Returns:
- the work order operation
-
setWorkOrderOperation
Sets the work order operation.- Parameters:
workOrderOperation- the new work order operation
-
getDefaultDuration
Returns the default duration.- Returns:
- the default duration
-
setDefaultDuration
Sets the default duration.- Parameters:
defaultDuration- the default duration
-
getForeman
Gets the foreman- Returns:
- the forman
-
setForeman
Sets the foreman- Parameters:
foreman- the new foreman
-