Class WorkShiftPresenceTimeLineItem
java.lang.Object
overit.geocallapp.wfm.calendars.bl.timeline.WorkShiftPresenceTimeLineItem
- All Implemented Interfaces:
Serializable,TimeLineItem<BOWorkShiftException>
public class WorkShiftPresenceTimeLineItem
extends Object
implements TimeLineItem<BOWorkShiftException>
TimeLineItem object for model the extra presence in a work shift into TimeLines
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWorkShiftPresenceTimeLineItem(BOWorkShiftException workshiftException) WorkShiftPresenceTimeLineItem(BOWorkShiftException workshiftException, Date beginTime, Date endTime) -
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.
-
Field Details
-
WORKSHIFT_EXTRA_PRESENCE
- See Also:
-
-
Constructor Details
-
WorkShiftPresenceTimeLineItem
public WorkShiftPresenceTimeLineItem(BOWorkShiftException workshiftException, Date beginTime, Date endTime) -
WorkShiftPresenceTimeLineItem
-
-
Method Details
-
getBegin
Description copied from interface:TimeLineItemGets the start date of this timeline item.- Specified by:
getBeginin interfaceTimeLineItem<BOWorkShiftException>- Returns:
- the begin date of the timeline item
-
getEnd
Description copied from interface:TimeLineItemGets the end date of this timeline item.- Specified by:
getEndin interfaceTimeLineItem<BOWorkShiftException>- Returns:
- the end date of the timeline item
-
getSourceObject
Description copied from interface:TimeLineItemGets the source object associated with this timeline item.- Specified by:
getSourceObjectin interfaceTimeLineItem<BOWorkShiftException>- Returns:
- the source object of type T
-
getName
Description copied from interface:TimeLineItemGets the name identifier of this timeline item.- Specified by:
getNamein interfaceTimeLineItem<BOWorkShiftException>- Returns:
- the name of the timeline item
-
getPriority
public int getPriority()Description copied from interface:TimeLineItemGets the priority value of this timeline item. Higher values indicate higher priority in overlap resolution.- Specified by:
getPriorityin interfaceTimeLineItem<BOWorkShiftException>- Returns:
- the priority value
-