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

public class ForecastResourceDetailBuildPreview extends DynO
Business object representing a row of a forecast resource detail preview
Since:
15.0
See Also:
GCApi:
bo
  • Constructor Details

    • ForecastResourceDetailBuildPreview

      public ForecastResourceDetailBuildPreview()
  • Method Details

    • getResourceForecastHeaderId

      public Long getResourceForecastHeaderId()
    • setResourceForecastHeaderId

      public void setResourceForecastHeaderId(Long resourceForecastHeaderId)
    • getResourceId

      public Long getResourceId()
      Returns the forecast resource id
      Returns:
      the forecast resource id
      See Also:
    • setResourceId

      public void setResourceId(Long resourceId)
      Sets the forecast resource id
      Parameters:
      resourceId - the forecast resource id
      See Also:
    • getPeriod

      public String getPeriod()
      Returns the period to show
      Returns:
      the period to show
    • setPeriod

      public void setPeriod(String period)
      Sets the period to show
      Parameters:
      period - period to show
    • getDay

      public Date getDay()
      Returns the day
      Returns:
      the day
    • setDay

      public void setDay(Date day)
      Sets the day
      Parameters:
      day - the day
    • getOldWorkDuration

      public Long getOldWorkDuration()
      Returns the old work duration of the resource saved to db for the specified day
      Returns:
      the old work duration
    • setOldWorkDuration

      public void setOldWorkDuration(Long oldWorkDuration)
      Sets the old work duration of the resource saved to db for the specified day
      Parameters:
      oldWorkDuration - the old work duration
    • getNewWorkDuration

      public Long getNewWorkDuration()
      Returns the new work duration for the specified day
      Returns:
      the new work duration
    • setNewWorkDuration

      public void setNewWorkDuration(Long newWorkDuration)
      Sets the new work duration of the resource for the specified day
      Parameters:
      newWorkDuration - the new work duration
    • getOldUnavailability

      public Long getOldUnavailability()
      Returns the old unavailability of the resource saved to db for the specified day
      Returns:
      the old unavailability
    • setOldUnavailability

      public void setOldUnavailability(Long oldUnavailability)
      Sets the old unavailability of the resource saved to db for the specified day
      Parameters:
      oldUnavailability - the old work duration
    • getNewUnavailability

      public Long getNewUnavailability()
      Returns the new unavailability for the specified day
      Returns:
      the new unavailability
    • setNewUnavailability

      public void setNewUnavailability(Long newUnavailability)
      Sets the new unavailability of the resource for the specified day
      Parameters:
      newUnavailability - the new Unavailability
    • getOldUnusableTime

      public Long getOldUnusableTime()
      Returns the old unusable time of the resource saved to db for the specified day
      Returns:
      the old unusable time
    • setOldUnusableTime

      public void setOldUnusableTime(Long oldUnusableTime)
      Sets the old unusable time of the resource saved to db for the specified day
      Parameters:
      oldUnusableTime - the old unusable time
    • getNewUnusableTime

      public Long getNewUnusableTime()
      Returns the new unusable time for the specified day
      Returns:
      the new unusable time
    • setNewUnusableTime

      public void setNewUnusableTime(Long newUnusableTime)
      Sets the new unusable time of the resource for the specified day
      Parameters:
      newUnusableTime - the new unusable time
    • getOldMaxOvertime

      public Long getOldMaxOvertime()
      Returns the old max overtime of the resource saved to db for the specified day
      Returns:
      the max overtime time
    • setOldMaxOvertime

      public void setOldMaxOvertime(Long oldMaxOvertime)
      Sets the old max overtime of the resource saved to db for the specified day
      Parameters:
      oldMaxOvertime - the old max overtime
    • getNewMaxOvertime

      public Long getNewMaxOvertime()
      Returns the new max overtime for the specified day
      Returns:
      the new max overtime
    • setNewMaxOvertime

      public void setNewMaxOvertime(Long newMaxOvertime)
      Sets the new max overtime of the resource for the specified day
      Parameters:
      newMaxOvertime - the new max overtime
    • getFormattedWorkDuration

      public String getFormattedWorkDuration()
      Returns the formatted work duration to show of the resource saved to db for the specified day
      Returns:
      the formatted work duration
    • setFormattedWorkDuration

      public void setFormattedWorkDuration(String formattedWorkDuration)
      Sets the formatted work duration to show of the resource saved to db for the specified day
      Parameters:
      formattedWorkDuration - the formatted work duration
    • getFormattedUnavailability

      public String getFormattedUnavailability()
      Returns the formatted unavailability to show of the resource saved to db for the specified day
      Returns:
      the formatted unavailability
    • setFormattedUnavailability

      public void setFormattedUnavailability(String formattedUnavailability)
      Sets the formatted unavailability to show of the resource saved to db for the specified day
      Parameters:
      formattedUnavailability - the formatted unavailability label
    • getFormattedUnusableTime

      public String 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

      public void setFormattedUnusableTime(String formattedUnusableTime)
      Sets the formatted unusable time to show of the resource saved to db for the specified day
      Parameters:
      formattedUnusableTime - the formatted unusable time
    • getFormattedMaxOvertime

      public String getFormattedMaxOvertime()
      Returns the formatted max overtime to show of the resource saved to db for the specified day
      Returns:
      the formatted max overtime
    • setFormattedMaxOvertime

      public void setFormattedMaxOvertime(String formattedMaxOvertime)
      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)