Class ForecastResourceDetailEditInput
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.detail.event.ForecastResourceDetailEditInput
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing the input for the
ForecastResourceDetailEditEvent. - Since:
- 15.0
- See Also:
- GCApi:
- bo
-
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 end date of generationReturns the resource forecast idReturns the max overtime of the resource for the specified dayReturns the forecast resource idReturns the start date of generationReturns the unavailability of the resource for the specified dayReturns the unusable time of the resource for the specified dayReturn the update mode (1 -> Replace, 2 -> Increment, 3 -> Decrement, 4 -> Only Insert)Returns the work duration of the resource for the specified daybooleanReturn the max overtime flag (true if you want to update max overtime, otherwise false)booleanReturn the update unavailability flag (true if you want to update unavailability, otherwise false)booleanReturn the update unusable time flag (true if you want to update unusable time, otherwise false)booleanReturn the update work duration flag (true if you want to update work duration, otherwise false)voidsetEndDate(Date endDate) Sets the end date of generationvoidsetForecastHeader(Long forecastHeader) Sets the resource forecast header id.voidsetMaxOvertime(Long maxOvertime) Sets the max overtime of the resource for the specified dayvoidsetResource(Long resource) Sets the forecast resource idvoidsetStartDate(Date startDate) Sets the start date of generationvoidsetUnavailability(Long unavailability) Sets the unavailability of the resource for the specified dayvoidsetUnusableTime(Long unusableTime) Sets the unusable time of the resource for the specified dayvoidsetUpdateMaxOvertime(boolean updateMaxOvertime) Sets the update max overtime flag (true if you want to update max overtime, otherwise false)voidsetUpdateMode(Long updateMode) Sets the update mode (1 -> Replace, 2 -> Increment, 3 -> Decrement, 4 -> Only Insert)voidsetUpdateUnavailability(boolean updateUnavailability) Sets the update unavailability flag (true if you want to update unavailability, otherwise false)voidsetUpdateUnusableTime(boolean updateUnusableTime) Sets the update unusable time flag (true if you want to update unusable time, otherwise false)voidsetUpdateWorkDuration(boolean updateWorkDuration) Sets the work duration flag (true if you want to update work duration, otherwise false)voidsetWorkDuration(Long workDuration) Sets the work duration of the resource for the specified dayMethods 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
-
ForecastResourceDetailEditInput
public ForecastResourceDetailEditInput()
-
-
Method Details
-
getResource
Returns the forecast resource id- Returns:
- the forecast resource id
- See Also:
-
setResource
Sets the forecast resource id- Parameters:
resource- the forecast resource id- See Also:
-
getForecastHeader
Returns the resource forecast id- Returns:
- the resource forecast header id
- See Also:
-
setForecastHeader
Sets the resource forecast header id.- Parameters:
forecastHeader- the resource forecast header id
-
getWorkDuration
Returns the work duration of the resource for the specified day- Returns:
- the work duration
-
setWorkDuration
Sets the work duration of the resource for the specified day- Parameters:
workDuration- the work duration
-
getStartDate
Returns the start date of generation- Returns:
- the start date
-
setStartDate
Sets the start date of generation- Parameters:
startDate- of generation
-
getEndDate
Returns the end date of generation- Returns:
- the end date
-
setEndDate
Sets the end date of generation- Parameters:
endDate- of generation
-
getUnusableTime
Returns the unusable time of the resource for the specified day- Returns:
- the unusable time
-
setUnusableTime
Sets the unusable time of the resource for the specified day- Parameters:
unusableTime- the unusable time
-
getMaxOvertime
Returns the max overtime of the resource for the specified day- Returns:
- the max overtime
-
setMaxOvertime
Sets the max overtime of the resource for the specified day- Parameters:
maxOvertime- the max overtime
-
isUpdateWorkDuration
public boolean isUpdateWorkDuration()Return the update work duration flag (true if you want to update work duration, otherwise false)- Returns:
- the update work duration flag
-
setUpdateWorkDuration
public void setUpdateWorkDuration(boolean updateWorkDuration) Sets the work duration flag (true if you want to update work duration, otherwise false)- Parameters:
updateWorkDuration- the update work duration flag
-
isUpdateUnusableTime
public boolean isUpdateUnusableTime()Return the update unusable time flag (true if you want to update unusable time, otherwise false)- Returns:
- the update unusable time flag
-
setUpdateUnusableTime
public void setUpdateUnusableTime(boolean updateUnusableTime) Sets the update unusable time flag (true if you want to update unusable time, otherwise false)- Parameters:
updateUnusableTime- the update unusable time flag
-
isUpdateMaxOvertime
public boolean isUpdateMaxOvertime()Return the max overtime flag (true if you want to update max overtime, otherwise false)- Returns:
- the update max overtime flag
-
setUpdateMaxOvertime
public void setUpdateMaxOvertime(boolean updateMaxOvertime) Sets the update max overtime flag (true if you want to update max overtime, otherwise false)- Parameters:
updateMaxOvertime- the update max overtime flag
-
getUpdateMode
Return the update mode (1 -> Replace, 2 -> Increment, 3 -> Decrement, 4 -> Only Insert)- Returns:
- the update mode
-
setUpdateMode
Sets the update mode (1 -> Replace, 2 -> Increment, 3 -> Decrement, 4 -> Only Insert)- Parameters:
updateMode- the update mode
-