ibspan.ecap.merchant.shopdecisions.forecasting
Class ForecastScheduleEntry

java.lang.Object
  extended by ibspan.ecap.merchant.shopdecisions.forecasting.ForecastScheduleEntry
All Implemented Interfaces:
java.lang.Comparable<ForecastScheduleEntry>

Deprecated. Module uses the ForecastTask instead :) A class containing the information about a scheduled forecasting task.

public class ForecastScheduleEntry
extends java.lang.Object
implements java.lang.Comparable<ForecastScheduleEntry>

Author:
Micha³ Drozdowicz

Constructor Summary
ForecastScheduleEntry(java.lang.String productId, java.util.Date scheduledTime, java.util.Date previousForecastEnd)
          Deprecated. Constructor.
 
Method Summary
 int compareTo(ForecastScheduleEntry arg0)
          Deprecated. Compares to another ForecastScheduleEntry basing on the schedule date.
 java.util.Date getPreviousForecastEnd()
          Deprecated. Gets the id of the product to forecast.
 java.lang.String getProductGlobalId()
          Deprecated. Gets the date of the end of the previous product forecast.
 java.util.Date getScheduledTime()
          Deprecated. Gets the time at which the forecast task is scheduled to begin
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForecastScheduleEntry

public ForecastScheduleEntry(java.lang.String productId,
                             java.util.Date scheduledTime,
                             java.util.Date previousForecastEnd)
Deprecated. 
Constructor.

Parameters:
productId - the id of the product to forecast
scheduledTime - the time at which the forecast task is scheduled to begin
previousForecastEnd - the date of the end of the previous product forecast
Method Detail

compareTo

public int compareTo(ForecastScheduleEntry arg0)
Deprecated. 
Compares to another ForecastScheduleEntry basing on the schedule date.

Specified by:
compareTo in interface java.lang.Comparable<ForecastScheduleEntry>

getPreviousForecastEnd

public java.util.Date getPreviousForecastEnd()
Deprecated. 
Gets the id of the product to forecast.

Returns:
the previousForecastEnd

getProductGlobalId

public java.lang.String getProductGlobalId()
Deprecated. 
Gets the date of the end of the previous product forecast.

Returns:
the productGlobalId

getScheduledTime

public java.util.Date getScheduledTime()
Deprecated. 
Gets the time at which the forecast task is scheduled to begin

Returns:
the scheduledTime