MPXJ: Microsoft Project Exchange

net.sf.mpxj
Class AbstractTimephasedWorkNormaliser

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

public abstract class AbstractTimephasedWorkNormaliser
extends java.lang.Object
implements TimephasedWorkNormaliser

Common implementation detail for normalisation.


Field Summary
 
Fields inherited from interface net.sf.mpxj.TimephasedWorkNormaliser
DEFAULT_NORMALIZER_WORK_PER_DAY
 
Constructor Summary
AbstractTimephasedWorkNormaliser()
           
 
Method Summary
protected  void convertToHours(java.util.LinkedList<TimephasedWork> list)
          Converts assignment duration values from minutes to hours.
protected  void mergeSameWork(java.util.LinkedList<TimephasedWork> list)
          Merges individual days together into time spans where the same work is undertaken each day.
abstract  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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTimephasedWorkNormaliser

public AbstractTimephasedWorkNormaliser()
Method Detail

normalise

public abstract 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
Parameters:
calendar - current calendar
list - list of assignment data

mergeSameWork

protected void mergeSameWork(java.util.LinkedList<TimephasedWork> list)
Merges individual days together into time spans where the same work is undertaken each day.

Parameters:
list - assignment data

convertToHours

protected void convertToHours(java.util.LinkedList<TimephasedWork> list)
Converts assignment duration values from minutes to hours.

Parameters:
list - assignment data


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