Class ForecastResourceDetailBuildPreview
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.forecastcapacity.bl.forecast.resource.detail.ForecastResourceDetailBuildPreview
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a row of a forecast resource detail preview
- 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 TypeMethodDescriptiongetDay()Returns the dayReturns the formatted max overtime to show of the resource saved to db for the specified dayReturns the formatted unavailability to show of the resource saved to db for the specified dayReturns the formatted unusable time to show of the resource saved to db for the specified dayReturns the formatted work duration to show of the resource saved to db for the specified dayReturns the new max overtime for the specified dayReturns the new unavailability for the specified dayReturns the new unusable time for the specified dayReturns the new work duration for the specified dayReturns the old max overtime of the resource saved to db for the specified dayReturns the old unavailability of the resource saved to db for the specified dayReturns the old unusable time of the resource saved to db for the specified dayReturns the old work duration of the resource saved to db for the specified dayReturns the period to showReturns the forecast resource idbooleanvoidSets the dayvoidsetFormattedMaxOvertime(String formattedMaxOvertime) Sets the formatted max overtime time to show of the resource saved to db for the specified dayvoidsetFormattedUnavailability(String formattedUnavailability) Sets the formatted unavailability to show of the resource saved to db for the specified dayvoidsetFormattedUnusableTime(String formattedUnusableTime) Sets the formatted unusable time to show of the resource saved to db for the specified dayvoidsetFormattedWorkDuration(String formattedWorkDuration) Sets the formatted work duration to show of the resource saved to db for the specified dayvoidsetHasErrors(boolean hasErrors) voidsetNewMaxOvertime(Long newMaxOvertime) Sets the new max overtime of the resource for the specified dayvoidsetNewUnavailability(Long newUnavailability) Sets the new unavailability of the resource for the specified dayvoidsetNewUnusableTime(Long newUnusableTime) Sets the new unusable time of the resource for the specified dayvoidsetNewWorkDuration(Long newWorkDuration) Sets the new work duration of the resource for the specified dayvoidsetOldMaxOvertime(Long oldMaxOvertime) Sets the old max overtime of the resource saved to db for the specified dayvoidsetOldUnavailability(Long oldUnavailability) Sets the old unavailability of the resource saved to db for the specified dayvoidsetOldUnusableTime(Long oldUnusableTime) Sets the old unusable time of the resource saved to db for the specified dayvoidsetOldWorkDuration(Long oldWorkDuration) Sets the old work duration of the resource saved to db for the specified dayvoidSets the period to showvoidsetResourceForecastHeaderId(Long resourceForecastHeaderId) voidsetResourceId(Long resourceId) Sets the forecast resource idMethods 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
-
ForecastResourceDetailBuildPreview
public ForecastResourceDetailBuildPreview()
-
-
Method Details
-
getResourceForecastHeaderId
-
setResourceForecastHeaderId
-
getResourceId
Returns the forecast resource id- Returns:
- the forecast resource id
- See Also:
-
setResourceId
Sets the forecast resource id- Parameters:
resourceId- the forecast resource id- See Also:
-
getPeriod
Returns the period to show- Returns:
- the period to show
-
setPeriod
Sets the period to show- Parameters:
period- period to show
-
getDay
Returns the day- Returns:
- the day
-
setDay
Sets the day- Parameters:
day- the day
-
getOldWorkDuration
Returns the old work duration of the resource saved to db for the specified day- Returns:
- the old work duration
-
setOldWorkDuration
Sets the old work duration of the resource saved to db for the specified day- Parameters:
oldWorkDuration- the old work duration
-
getNewWorkDuration
Returns the new work duration for the specified day- Returns:
- the new work duration
-
setNewWorkDuration
Sets the new work duration of the resource for the specified day- Parameters:
newWorkDuration- the new work duration
-
getOldUnusableTime
Returns the old unusable time of the resource saved to db for the specified day- Returns:
- the old unusable time
-
setOldUnusableTime
Sets the old unusable time of the resource saved to db for the specified day- Parameters:
oldUnusableTime- the old unusable time
-
getNewUnusableTime
Returns the new unusable time for the specified day- Returns:
- the new unusable time
-
setNewUnusableTime
Sets the new unusable time of the resource for the specified day- Parameters:
newUnusableTime- the new unusable time
-
getOldMaxOvertime
Returns the old max overtime of the resource saved to db for the specified day- Returns:
- the max overtime time
-
setOldMaxOvertime
Sets the old max overtime of the resource saved to db for the specified day- Parameters:
oldMaxOvertime- the old max overtime
-
getNewMaxOvertime
Returns the new max overtime for the specified day- Returns:
- the new max overtime
-
setNewMaxOvertime
Sets the new max overtime of the resource for the specified day- Parameters:
newMaxOvertime- the new max overtime
-
getFormattedWorkDuration
Returns the formatted work duration to show of the resource saved to db for the specified day- Returns:
- the formatted work duration
-
setFormattedWorkDuration
Sets the formatted work duration to show of the resource saved to db for the specified day- Parameters:
formattedWorkDuration- the formatted work duration
-
getFormattedUnusableTime
Returns the formatted unusable time to show of the resource saved to db for the specified day- Returns:
- the formatted unusable time label
-
setFormattedUnusableTime
Sets the formatted unusable time to show of the resource saved to db for the specified day- Parameters:
formattedUnusableTime- the formatted unusable time
-
getFormattedMaxOvertime
Returns the formatted max overtime to show of the resource saved to db for the specified day- Returns:
- the formatted max overtime
-
setFormattedMaxOvertime
Sets the formatted max overtime time to show of the resource saved to db for the specified day- Parameters:
formattedMaxOvertime- the formatted max overtime
-
isHasErrors
public boolean isHasErrors() -
setHasErrors
public void setHasErrors(boolean hasErrors)
-