net.sf.mpxj.utility
Class TimephasedUtility

java.lang.Object
  extended by net.sf.mpxj.utility.TimephasedUtility

public final class TimephasedUtility
extends Object

This class contains methods relating to manipulating timephased data.


Constructor Summary
TimephasedUtility()
           
 
Method Summary
 ArrayList<Double> segmentBaselineCost(ProjectFile file, List<TimephasedCost> cost, TimescaleUnits rangeUnits, ArrayList<DateRange> dateList)
          This is the main entry point used to convert the internal representation of timephased baseline cost into an external form which can be displayed to the user.
 ArrayList<Duration> segmentBaselineWork(ProjectFile file, List<TimephasedWork> work, TimescaleUnits rangeUnits, ArrayList<DateRange> dateList)
          This is the main entry point used to convert the internal representation of timephased baseline work into an external form which can be displayed to the user.
 ArrayList<Double> segmentCost(ProjectCalendar projectCalendar, List<TimephasedCost> cost, TimescaleUnits rangeUnits, ArrayList<DateRange> dateList)
          This is the main entry point used to convert the internal representation of timephased cost into an external form which can be displayed to the user.
 ArrayList<Duration> segmentWork(ProjectCalendar projectCalendar, List<TimephasedWork> work, TimescaleUnits rangeUnits, ArrayList<DateRange> dateList)
          This is the main entry point used to convert the internal representation of timephased work into an external form which can be displayed to the user.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimephasedUtility

public TimephasedUtility()
Method Detail

segmentWork

public ArrayList<Duration> segmentWork(ProjectCalendar projectCalendar,
                                       List<TimephasedWork> work,
                                       TimescaleUnits rangeUnits,
                                       ArrayList<DateRange> dateList)
This is the main entry point used to convert the internal representation of timephased work into an external form which can be displayed to the user.

Parameters:
projectCalendar - calendar used by the resource assignment
work - timephased resource assignment data
rangeUnits - timescale units
dateList - timescale date ranges
Returns:
list of durations, one per timescale date range

segmentBaselineWork

public ArrayList<Duration> segmentBaselineWork(ProjectFile file,
                                               List<TimephasedWork> work,
                                               TimescaleUnits rangeUnits,
                                               ArrayList<DateRange> dateList)
This is the main entry point used to convert the internal representation of timephased baseline work into an external form which can be displayed to the user.

Parameters:
file - parent project file
work - timephased resource assignment data
rangeUnits - timescale units
dateList - timescale date ranges
Returns:
list of durations, one per timescale date range

segmentCost

public ArrayList<Double> segmentCost(ProjectCalendar projectCalendar,
                                     List<TimephasedCost> cost,
                                     TimescaleUnits rangeUnits,
                                     ArrayList<DateRange> dateList)
This is the main entry point used to convert the internal representation of timephased cost into an external form which can be displayed to the user.

Parameters:
projectCalendar - calendar used by the resource assignment
cost - timephased resource assignment data
rangeUnits - timescale units
dateList - timescale date ranges
Returns:
list of durations, one per timescale date range

segmentBaselineCost

public ArrayList<Double> segmentBaselineCost(ProjectFile file,
                                             List<TimephasedCost> cost,
                                             TimescaleUnits rangeUnits,
                                             ArrayList<DateRange> dateList)
This is the main entry point used to convert the internal representation of timephased baseline cost into an external form which can be displayed to the user.

Parameters:
file - parent project file
cost - timephased resource assignment data
rangeUnits - timescale units
dateList - timescale date ranges
Returns:
list of durations, one per timescale date range


Copyright © 2012. All Rights Reserved.