Interface TimeLineItem<T>

Type Parameters:
T - the type of the source object associated with this timeline item
All Superinterfaces:
Serializable
All Known Implementing Classes:
ReferenceDateTimeLineItem, SplitCriteria, WorkLoadDistributionTimeLineItem, WorkShiftAbsenceTimeLineItem, WorkShiftBreakTimeLineItem, WorkShiftPresenceTimeLineItem, WorkShiftTimeLineItem

public interface TimeLineItem<T> extends Serializable
Interface representing an item that can be placed on a timeline with temporal boundaries.
Each timeline item has a begin and end date, a source object, a name, and a priority value.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the start date of this timeline item.
    Gets the end date of this timeline item.
    Gets the name identifier of this timeline item.
    int
    Gets the priority value of this timeline item.
    Gets the source object associated with this timeline item.
  • Method Details

    • getBegin

      Date getBegin()
      Gets the start date of this timeline item.
      Returns:
      the begin date of the timeline item
    • getEnd

      Date getEnd()
      Gets the end date of this timeline item.
      Returns:
      the end date of the timeline item
    • getSourceObject

      T getSourceObject()
      Gets the source object associated with this timeline item.
      Returns:
      the source object of type T
    • getName

      String getName()
      Gets the name identifier of this timeline item.
      Returns:
      the name of the timeline item
    • getPriority

      int getPriority()
      Gets the priority value of this timeline item. Higher values indicate higher priority in overlap resolution.
      Returns:
      the priority value