java.lang.Object
overit.geocallapp.wfm.orchestrator.planning.timeline.SplitCriteria
All Implemented Interfaces:
Serializable, TimeLineItem<Integer>

public class SplitCriteria extends Object implements TimeLineItem<Integer>
TimeLineItem object for modeling the splitting criteria of TimeLineRange
Since:
19.0
See Also:
  • Field Details

  • Constructor Details

    • SplitCriteria

      public SplitCriteria(Integer splitNumberOfDays)
    • SplitCriteria

      public SplitCriteria(Date splitStart, Date splitEnd)
    • SplitCriteria

      public SplitCriteria(Integer splitNumberOfDays, Date splitStart, Date splitEnd)
  • 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<Integer>
      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<Integer>
      Returns:
      the end date of the timeline item
    • getSourceObject

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

      public int getSplitNumberOfDays()
    • getName

      public String getName()
      Description copied from interface: TimeLineItem
      Gets the name identifier of this timeline item.
      Specified by:
      getName in interface TimeLineItem<Integer>
      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<Integer>
      Returns:
      the priority value