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
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.
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 TypeMethodDescriptiongetBegin()Gets the start date of this timeline item.getEnd()Gets the end date of this timeline item.getName()Gets the name identifier of this timeline item.intGets 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
-