MPXJ: Microsoft Project Exchange

net.sf.mpxj.mpp
Class MPPAbstractTimephasedWorkNormaliser

java.lang.Object
  extended by net.sf.mpxj.AbstractTimephasedWorkNormaliser
      extended by net.sf.mpxj.mpp.MPPAbstractTimephasedWorkNormaliser
All Implemented Interfaces:
TimephasedWorkNormaliser
Direct Known Subclasses:
MPPTimephasedBaselineWorkNormaliser, MPPTimephasedWorkNormaliser

public abstract class MPPAbstractTimephasedWorkNormaliser
extends AbstractTimephasedWorkNormaliser

Normalise timephased resource assignment data from an MPP file.


Field Summary
 
Fields inherited from interface net.sf.mpxj.TimephasedWorkNormaliser
DEFAULT_NORMALIZER_WORK_PER_DAY
 
Constructor Summary
MPPAbstractTimephasedWorkNormaliser()
           
 
Method Summary
protected abstract  void mergeSameDay(ProjectCalendar calendar, java.util.LinkedList<TimephasedWork> list)
          This method merges together assignment data for the same day.
 void normalise(ProjectCalendar calendar, java.util.LinkedList<TimephasedWork> list)
          This method converts the internal representation of timephased resource assignment data used by MS Project into a standardised format to make it easy to work with.
 
Methods inherited from class net.sf.mpxj.AbstractTimephasedWorkNormaliser
convertToHours, mergeSameWork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MPPAbstractTimephasedWorkNormaliser

public MPPAbstractTimephasedWorkNormaliser()
Method Detail

normalise

public void normalise(ProjectCalendar calendar,
                      java.util.LinkedList<TimephasedWork> list)
This method converts the internal representation of timephased resource assignment data used by MS Project into a standardised format to make it easy to work with.

Specified by:
normalise in interface TimephasedWorkNormaliser
Specified by:
normalise in class AbstractTimephasedWorkNormaliser
Parameters:
calendar - current calendar
list - list of assignment data

mergeSameDay

protected abstract void mergeSameDay(ProjectCalendar calendar,
                                     java.util.LinkedList<TimephasedWork> list)
This method merges together assignment data for the same day.

Parameters:
calendar - current calendar
list - assignment data


Copyright © 2000-2014 Packwood Software. All Rights Reserved.