Class BOOnCallShift

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.workshift.oncall.BOOnCallShift
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOOnCallShift extends DynO
Business object used to define the availability shift of a scheduling resource.
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOOnCallShift

      public BOOnCallShift()
  • Method Details

    • getId

      public Long getId()
      Returns the on call shift id.
      Returns:
      the the on call shift id
    • setId

      public void setId(Long id)
      Sets the on call shift id.
      Parameters:
      id - the on call shift id
    • getUser

      public Long getUser()
      Returns the on call shift user id.
      Returns:
      the user id
      See Also:
    • setUser

      public void setUser(Long user)
      Sets the on call shift user id.
      Parameters:
      user - the user id
      See Also:
    • getStartDate

      public Date getStartDate()
      Returns the on call shift start date.
      Returns:
      the start date
    • setStartDate

      public void setStartDate(Date startDate)
      Sets the on call shift start date.
      Parameters:
      startDate - the start date
    • getEndDate

      public Date getEndDate()
      Returns the on call shift end date.
      Returns:
      the end date
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the on call shift end date.
      Parameters:
      endDate - the end date
    • getShiftType

      public Long getShiftType()
      Returns the on call shift type id.
      Returns:
      the shift type id
      See Also:
    • setShiftType

      public void setShiftType(Long shiftType)
      Sets the on call shift type id.
      Parameters:
      shiftType - the shift type id
      See Also:
    • getTotalDuration

      public Long getTotalDuration()
      Returns the total duration (mins) of the on call shift.
      Returns:
      the total duration