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

public class BOWorkShift extends DynO
Business Object representing a Work Shift.
It represents the details about the work shift.
Since:
17.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOWorkShift

      public BOWorkShift()
  • Method Details

    • getId

      public Long getId()
      Returns the ID of the work shift.
      Returns:
      id the ID of the work shift
    • setId

      public void setId(Long id)
      Sets the ID of the work shift.
      Parameters:
      id - the ID of the work shift
    • getResource

      public Long getResource()
      Returns the resource (i.e., the resource's ID) of the work shift.
      Returns:
      resource (i.e., the resource's ID) of the work shift
    • setResource

      public void setResource(Long resource)
      Sets the resource (i.e., the resource's ID) of the work shift.
      Parameters:
      resource - the resource (i.e., the resource's ID) of the work shift
    • getStartDate

      public Date getStartDate()
      Returns the start date of the work shift.
      Returns:
      startDate the start date of the work shift
    • setStartDate

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

      public Date getEndDate()
      Returns the end date of the work shift.
      Returns:
      endDate the start date of the work shift
    • setEndDate

      public void setEndDate(Date endDate)
      Sets the end date of the work shift.
      Parameters:
      endDate - the end date of the work shift
    • getWorkShiftException

      public Long getWorkShiftException()
      Returns the work shift exception's type (i.e., the ID of the work shift exception's type) of the work shift.
      Returns:
      workShiftException the work shift exception's type (i.e., the ID of the work shift exception's type) of the work shift
      See Also:
    • setWorkShiftException

      public void setWorkShiftException(Long workShiftException)
      Sets the work shift exception's type (i.e., the ID of the work shift exception's type) of the work shift.
      Parameters:
      workShiftException - the work shift exception's type (i.e., the ID of the work shift exception's type) of the work shift
      See Also:
    • getBreakStart

      public Date getBreakStart()
      Returns the break's start time of the work shift.
      Returns:
      breakStart the break's start time of the work shift
    • setBreakStart

      public void setBreakStart(Date breakStart)
      Sets the break's start time of the work shift.
      Parameters:
      breakStart - the break's start time of the work shift
    • getBreakEnd

      public Date getBreakEnd()
      Returns the break's end time of the work shift.
      Returns:
      breakEnd the break's end time of the work shift
    • setBreakEnd

      public void setBreakEnd(Date breakEnd)
      Sets the break's end time of the work shift.
      Parameters:
      breakEnd - the break's end time of the work shift
    • getUnavailabilityStart

      public Date getUnavailabilityStart()
      Returns the unavailability's start time of the work shift.
      Returns:
      unavailabilityStart the unavailability's start time of the work shift
    • setUnavailabilityStart

      public void setUnavailabilityStart(Date unavailabilityStart)
      Sets the unavailability's start time of the work shift.
      Parameters:
      unavailabilityStart - the unavailability's start time of the work shift
    • getUnavailabilityEnd

      public Date getUnavailabilityEnd()
      Returns the unavailability's end time of the work shift.
      Returns:
      unavailabilityEnd the unavailability's end time of the work shift
    • setUnavailabilityEnd

      public void setUnavailabilityEnd(Date unavailabilityEnd)
      Sets the unavailability's end time of the work shift.
      Parameters:
      unavailabilityEnd - the unavailability's end time of the work shift
    • getDayStartAddress

      public Long getDayStartAddress()
      Returns the daily start address (i.e., the daily address' ID) of the work shift.
      Returns:
      dayStartAddress the daily start address (i.e., the daily address' ID) of the work shift
    • setDayStartAddress

      public void setDayStartAddress(Long dayStartAddress)
      Sets the daily start address (i.e., the daily address' ID) of the work shift.
      Parameters:
      dayStartAddress - the daily start address (i.e., the daily address' ID) of the work shift
    • getDayEndAddress

      public Long getDayEndAddress()
      Returns the daily end address (i.e., the daily address' ID) of the work shift.
      Returns:
      dayEndAddress the daily end address (i.e., the daily address' ID) of the work shift
    • setDayEndAddress

      public void setDayEndAddress(Long dayEndAddress)
      Sets the daily end address (i.e., the daily address' ID) of the work shift.
      Parameters:
      dayEndAddress - the daily end address (i.e., the daily address' ID) of the work shift
    • getTransferTimeEvaluationType

      public Long getTransferTimeEvaluationType()
      Returns the transfer time evaluation type (i.e., the ID of the transfer time's evaluation type) of the work shift.
      Returns:
      transferTimeEvaluationType the transfer time evaluation type (i.e., the ID of the transfer time's evaluation type) of the work shift
    • setTransferTimeEvaluationType

      public void setTransferTimeEvaluationType(Long transferTimeEvaluationType)
      Sets the transfer time evaluation type (i.e., the ID of the transfer time's evaluation type) of the work shift.
      Parameters:
      transferTimeEvaluationType - the transfer time evaluation type (i.e., the ID of the transfer time's evaluation type) of the work shift
    • getOperationCenter

      public Long getOperationCenter()
      Returns the operation center (i.e., the operation center's ID) of the work shift.
      Returns:
      operationCenter the operation center (i.e., the operation center's ID) of the work shift
    • setOperationCenter

      public void setOperationCenter(Long operationCenter)
      Sets the operation center (i.e., the operation center's ID) of the work shift.
      Parameters:
      operationCenter - the operation center (i.e., the operation center's ID) of the work shift
    • getActualBreakStart

      public Date getActualBreakStart()
      Returns the actual start time of the break of the work shift.
      Returns:
      actualBreakStart the actual start time of the break of the work shift
    • setActualBreakStart

      public void setActualBreakStart(Date actualBreakStart)
      Sets the actual start time of the break of the work shift.
      Parameters:
      actualBreakStart - the actual start time of the break of the work shift
    • getActualBreakEnd

      public Date getActualBreakEnd()
      Returns the actual end time of the break of the work shift.
      Returns:
      actualBreakEnd the work shift actual break end
    • setActualBreakEnd

      public void setActualBreakEnd(Date actualBreakEnd)
      Sets the actual end time of the break of the work shift.
      Parameters:
      actualBreakEnd - the actual end time of the break of the work shift
    • getType

      public Long getType()
      Returns the work shift type (i.e., the work shift type's ID) of the work shift.
      Returns:
      type the work shift type (i.e., the work shift type's ID) of the work shift
      See Also:
    • setType

      public void setType(Long type)
      Sets the work shift type (i.e., the work shift type's ID) of the work shift.
      Parameters:
      type - the work shift type (i.e., the work shift type's ID) of the work shift
      See Also:
    • getNote

      public String getNote()
      Returns the notes of the work shift.
      Returns:
      note the notes of the work shift
    • setNote

      public void setNote(String note)
      Sets the notes of the work shift.
      Parameters:
      note - the notes of the work shift
    • getOvertimeMinute

      public Long getOvertimeMinute()
      Returns the overtime of the work shift.
      Returns:
      overtimeMinute the overtime of the work shift
    • setOvertimeMinute

      public void setOvertimeMinute(Long overtimeMinute)
      Sets the overtime of the work shift.
      Parameters:
      overtimeMinute - the overtime of the work shift
    • getClockingType

      public Long getClockingType()
      Returns the clocking type (i.e., the clocking type's ID) of the work shift.
      Returns:
      clockingType the clocking type (i.e., the clocking type's ID) of the work shift
    • setClockingType

      public void setClockingType(Long clockingType)
      Sets the clocking type (i.e., the clocking type's ID) of the work shift.
      Parameters:
      clockingType - the clocking type (i.e., the clocking type's ID) of the work shift
    • getExpectedStartDate

      public Date getExpectedStartDate()
      Returns the expected start date of the work shift.
      Returns:
      expectedStartDate the expected start date of the work shift
    • setExpectedStartDate

      public void setExpectedStartDate(Date expectedStartDate)
      Sets the expected start date of the work shift.
      Parameters:
      expectedStartDate - the expected start date of the work shift
    • getExpectedEndDate

      public Date getExpectedEndDate()
      Returns the expected end date of the work shift.
      Returns:
      expectedEndDate the expected end date of the work shift
    • setExpectedEndDate

      public void setExpectedEndDate(Date expectedEndDate)
      Sets the expected end date of the work shift.
      Parameters:
      expectedEndDate - the expected end date of the work shift
    • getNormalizedStartDate

      public Date getNormalizedStartDate()
      Returns the normalized start date of the work shift.
      Returns:
      normalizedStartDate the normalized start date of the work shift
    • setNormalizedStartDate

      public void setNormalizedStartDate(Date normalizedStartDate)
      Sets the normalized start date of the work shift.
      Parameters:
      normalizedStartDate - the normalized start date of the work shift
    • getNormalizedEndDate

      public Date getNormalizedEndDate()
      Returns the normalized end date of the work shift.
      Returns:
      normalizedEndDate the normalized end date of the work shift
    • setNormalizedEndDate

      public void setNormalizedEndDate(Date normalizedEndDate)
      Sets the normalized end date of the work shift.
      Parameters:
      normalizedEndDate - the normalized end date of the work shift
    • getTotalUnavailability

      public Long getTotalUnavailability()
      Returns the total unavailability of the work shift.
      Returns:
      totalUnavailability the total unavailability id
    • setTotalUnavailability

      public void setTotalUnavailability(Long totalUnavailability)
      Sets the total unavailability of the work shift.
      Parameters:
      totalUnavailability - the total unavailability of the work shift
    • getTotalBreak

      public Long getTotalBreak()
      Returns the total break of the work shift.
      Returns:
      totalBreak the total break of the work shift
    • setTotalBreak

      public void setTotalBreak(Long totalBreak)
      Sets the total break of the work shift.
      Parameters:
      totalBreak - the total break of the work shift
    • isDummy

      public Boolean isDummy()
      Checks the dummy status of the work shift, or rather, if the work shift is related to a dummy user.
      Returns:
      dummy which is true if the work shift is related to a dummy user, false otherwise
    • setDummy

      public void setDummy(Boolean dummy)
      Sets the dummy status of the work shift.
      Parameters:
      dummy - which must be true if the work shift is related to a dummy user, false otherwise
    • getInitialOperationCenter

      public Long getInitialOperationCenter()
      Returns the initial operation center (i.e., the initial operation center's ID) of the work shift.
      Returns:
      initialOperationCenter the initial operation center (i.e., the initial operation center's ID) of the work shift
    • setInitialOperationCenter

      public void setInitialOperationCenter(Long initialOperationCenter)
      Sets the initial operation center (i.e., the initial operation center's ID) of the work shift.
      Parameters:
      initialOperationCenter - the initial operation center (i.e., the initial operation center's ID) of the work shift
    • getCurrentOperationCenter

      public Long getCurrentOperationCenter()
      Returns the current operation center (i.e., the current operation center's ID) of the work shift.
      Returns:
      currentOperationCenter the current operation center (i.e., the current operation center's ID) of the work shift
    • setCurrentOperationCenter

      public void setCurrentOperationCenter(Long currentOperationCenter)
      Sets the current operation center (i.e., the current operation center's ID) of the work shift.
      Parameters:
      currentOperationCenter - the current operation center (i.e., the current operation center's ID) of the work shift
    • isCrewShell

      public Boolean isCrewShell()
      Checks the crewShell status of the work shift, or rather, if the work shift is related to a crew shell.
      Returns:
      crewShell which is true if the work shift is related to a crew shell, false otherwise
    • setCrewShell

      public void setCrewShell(Boolean crewShell)
      Sets the crewShell status of the work shift.
      Parameters:
      crewShell - which must be true if the work shift is related to a crew shell, false otherwise
    • getDeleteAction

      public Long getDeleteAction()
      Returns the delete action (i.e., the delete action's ID) of the work shift.
      Returns:
      deleteAction the delete action (i.e., the delete action's ID) of the work shift
    • setDeleteAction

      public void setDeleteAction(Long deleteAction)
      Sets the delete action (i.e., the delete action's ID) of the work shift.
      Parameters:
      deleteAction - the delete action (i.e., the delete action's ID) of the work shift
    • getAvailabilityType

      public Long getAvailabilityType()
      Returns the availability type of the work shift
      Returns:
      availabilityTime the availability type of the work shift
    • setAvailabilityType

      public void setAvailabilityType(Long availabilityType)
      Sets the availability type of the work shift.
      Parameters:
      availabilityType - the availability type of the work shift
    • getOssSpace

      public Long getOssSpace()
      Returns the oss space of the work shift
      Returns:
      ossSpace the oss space of the work shift
    • setOssSpace

      public void setOssSpace(Long ossSpace)
      Sets the oss space of the work shift.
      Parameters:
      ossSpace - the oss space of the work shift
    • getContainerWorkshift

      public Long getContainerWorkshift()
      Return the workshift of the container (for example crew shell workshift)
      Returns:
      the workshift of the container
    • setContainerWorkshift

      public void setContainerWorkshift(Long containerWorkshift)
      Sets the workshift of the container (for example crew shell workshift)
      Parameters:
      containerWorkshift - the workshift of the container