Class DTOForecastActivityDetailUpdate
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.forecastcapacity.rs1.forecast.activity.detail.DTOForecastActivityDetailUpdate
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
DTO to update a forecast activity detail.
- Since:
- 15.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 average task durationReturns the forecast activity detail's expected durationReturns the number of tasksReturns the priority's idvoidsetAverageTaskDuration(Optional<Long> averageTaskDuration) Sets the average task durationvoidsetExpectedDuration(Optional<Long> expectedDuration) Sets the forecast activity detail's expected durationvoidsetNumberOfTasks(Optional<Long> numberOfTasks) Sets the number of tasksvoidsetPriority(Optional<Long> priority) Sets the priority's idBOForecastActivityPriorityMethods 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
-
DTOForecastActivityDetailUpdate
public DTOForecastActivityDetailUpdate()
-
-
Method Details
-
getExpectedDuration
Returns the forecast activity detail's expected duration- Returns:
- the forecast activity detail's expected duration
-
setExpectedDuration
Sets the forecast activity detail's expected duration- Parameters:
expectedDuration- the forecast activity detail's expected duration
-
getNumberOfTasks
Returns the number of tasks- Returns:
- the number of tasks
-
setNumberOfTasks
Sets the number of tasks- Parameters:
numberOfTasks- the number of tasks
-
getAverageTaskDuration
Returns the average task duration- Returns:
- the average task duration
-
setAverageTaskDuration
Sets the average task duration- Parameters:
averageTaskDuration- the average task duration
-
getPriority
Returns the priority's id- Returns:
- priority
- See Also:
-
setPriority
Sets the priority's idBOForecastActivityPriority- Parameters:
priority-
-