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

public class ForecastResourceDetailEditInput extends DynO
Business object representing the input for the ForecastResourceDetailEditEvent.
Since:
15.0
See Also:
GCApi:
bo
  • Constructor Details

    • ForecastResourceDetailEditInput

      public ForecastResourceDetailEditInput()
  • Method Details

    • getResource

      public Long getResource()
      Returns the forecast resource id
      Returns:
      the forecast resource id
      See Also:
    • setResource

      public void setResource(Long resource)
      Sets the forecast resource id
      Parameters:
      resource - the forecast resource id
      See Also:
    • getForecastHeader

      public Long getForecastHeader()
      Returns the resource forecast id
      Returns:
      the resource forecast header id
      See Also:
    • setForecastHeader

      public void setForecastHeader(Long forecastHeader)
      Sets the resource forecast header id.
      Parameters:
      forecastHeader - the resource forecast header id
    • getWorkDuration

      public Long getWorkDuration()
      Returns the work duration of the resource for the specified day
      Returns:
      the work duration
    • setWorkDuration

      public void setWorkDuration(Long workDuration)
      Sets the work duration of the resource for the specified day
      Parameters:
      workDuration - the work duration
    • getStartDate

      public Date getStartDate()
      Returns the start date of generation
      Returns:
      the start date
    • setStartDate

      public void setStartDate(Date startDate)
      Sets the start date of generation
      Parameters:
      startDate - of generation
    • getEndDate

      public Date getEndDate()
      Returns the end date of generation
      Returns:
      the end date
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the end date of generation
      Parameters:
      endDate - of generation
    • getUnavailability

      public Long getUnavailability()
      Returns the unavailability of the resource for the specified day
      Returns:
      the unavailability
    • setUnavailability

      public void setUnavailability(Long unavailability)
      Sets the unavailability of the resource for the specified day
      Parameters:
      unavailability - the unavailability
    • getUnusableTime

      public Long getUnusableTime()
      Returns the unusable time of the resource for the specified day
      Returns:
      the unusable time
    • setUnusableTime

      public void setUnusableTime(Long unusableTime)
      Sets the unusable time of the resource for the specified day
      Parameters:
      unusableTime - the unusable time
    • getMaxOvertime

      public Long getMaxOvertime()
      Returns the max overtime of the resource for the specified day
      Returns:
      the max overtime
    • setMaxOvertime

      public void setMaxOvertime(Long maxOvertime)
      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
    • isUpdateUnavailability

      public boolean isUpdateUnavailability()
      Return the update unavailability flag (true if you want to update unavailability, otherwise false)
      Returns:
      the update unavailability flag
    • setUpdateUnavailability

      public void setUpdateUnavailability(boolean updateUnavailability)
      Sets the update unavailability flag (true if you want to update unavailability, otherwise false)
      Parameters:
      updateUnavailability - the update unavailability 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

      public Long getUpdateMode()
      Return the update mode (1 -> Replace, 2 -> Increment, 3 -> Decrement, 4 -> Only Insert)
      Returns:
      the update mode
    • setUpdateMode

      public void setUpdateMode(Long updateMode)
      Sets the update mode (1 -> Replace, 2 -> Increment, 3 -> Decrement, 4 -> Only Insert)
      Parameters:
      updateMode - the update mode