net.sf.mpxj
Class TimephasedWorkData

java.lang.Object
  extended by net.sf.mpxj.TimephasedWorkData

public class TimephasedWorkData
extends Object

Class used to manage timephased data.


Constructor Summary
TimephasedWorkData(ProjectCalendar calendar, TimephasedWorkNormaliser normaliser, List<TimephasedWork> data, boolean raw)
          Constructor.
TimephasedWorkData(TimephasedWorkData source, double perDayFactor, double totalFactor)
          Copy constructor which can be used to scale the data it is copying by a given factor.
 
Method Summary
 List<TimephasedWork> getData()
          Retrieves the timephased data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimephasedWorkData

public TimephasedWorkData(ProjectCalendar calendar,
                          TimephasedWorkNormaliser normaliser,
                          List<TimephasedWork> data,
                          boolean raw)
Constructor.

Parameters:
calendar - calendar to which the timephased data relates
normaliser - normaliser used to process this data
data - timephased data
raw - flag indicating if this data is raw

TimephasedWorkData

public TimephasedWorkData(TimephasedWorkData source,
                          double perDayFactor,
                          double totalFactor)
Copy constructor which can be used to scale the data it is copying by a given factor.

Parameters:
source - source data
perDayFactor - per day scaling factor
totalFactor - total scaling factor
Method Detail

getData

public List<TimephasedWork> getData()
Retrieves the timephased data.

Returns:
timephased data


Copyright © 2012. All Rights Reserved.