Class WorkShiftTimeLineItem

java.lang.Object
overit.geocallapp.wfm.calendars.bl.timeline.WorkShiftTimeLineItem
All Implemented Interfaces:
Serializable, TimeLineItem<BOWorkShift>

public class WorkShiftTimeLineItem extends Object implements TimeLineItem<BOWorkShift>
TimeLineItem object for model the work shift time into TimeLines
See Also:
  • Field Details

  • Constructor Details

    • WorkShiftTimeLineItem

      public WorkShiftTimeLineItem(BOWorkShift workshift, Date beginTime, Date endTime)
    • WorkShiftTimeLineItem

      public WorkShiftTimeLineItem(BOWorkShift workshift)
  • Method Details

    • getBegin

      public Date getBegin()
      Description copied from interface: TimeLineItem
      Gets the start date of this timeline item.
      Specified by:
      getBegin in interface TimeLineItem<BOWorkShift>
      Returns:
      the begin date of the timeline item
    • getEnd

      public Date getEnd()
      Description copied from interface: TimeLineItem
      Gets the end date of this timeline item.
      Specified by:
      getEnd in interface TimeLineItem<BOWorkShift>
      Returns:
      the end date of the timeline item
    • getSourceObject

      public BOWorkShift getSourceObject()
      Description copied from interface: TimeLineItem
      Gets the source object associated with this timeline item.
      Specified by:
      getSourceObject in interface TimeLineItem<BOWorkShift>
      Returns:
      the source object of type T
    • getName

      public String getName()
      Description copied from interface: TimeLineItem
      Gets the name identifier of this timeline item.
      Specified by:
      getName in interface TimeLineItem<BOWorkShift>
      Returns:
      the name of the timeline item
    • getPriority

      public int getPriority()
      Description copied from interface: TimeLineItem
      Gets the priority value of this timeline item. Higher values indicate higher priority in overlap resolution.
      Specified by:
      getPriority in interface TimeLineItem<BOWorkShift>
      Returns:
      the priority value