Class ReferenceDateTimeLineItem

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

public class ReferenceDateTimeLineItem extends Object implements TimeLineItem<Date>
TimeLineItem object used to model a generic reference date into TimeLines
See Also:
  • Field Details

  • Constructor Details

    • ReferenceDateTimeLineItem

      public ReferenceDateTimeLineItem(Date referenceDate, Date beginTime, Date endTime)
    • ReferenceDateTimeLineItem

      public ReferenceDateTimeLineItem(Date referenceDate)
  • 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<Date>
      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<Date>
      Returns:
      the end date of the timeline item
    • getSourceObject

      public Date getSourceObject()
      Description copied from interface: TimeLineItem
      Gets the source object associated with this timeline item.
      Specified by:
      getSourceObject in interface TimeLineItem<Date>
      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<Date>
      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<Date>
      Returns:
      the priority value