MPXJ: Microsoft Project Exchange

net.sf.mpxj
Class TimephasedResourceAssignment

Package class diagram package TimephasedResourceAssignment
java.lang.Object
  extended by net.sf.mpxj.TimephasedResourceAssignment

public final class TimephasedResourceAssignment
extends java.lang.Object

This class represents a span of a number of days of work. The duration of work carried out on each day is represented by the "per day" attribute. The start and end of the span is represented by "start work" and "cumulative work" attributes.


Constructor Summary
TimephasedResourceAssignment()
           
 
Method Summary
 java.util.Date getFinish()
          Retrieve the finish date.
 boolean getModified()
          Retrieve the modified flag.
 java.util.Date getStart()
          Retrieve the start date.
 Duration getTotalWork()
          Retrieve the total work duration.
 Duration getWorkPerDay()
          Retrieve the duration of work allocated per day.
 void setFinish(java.util.Date finish)
          Set the finish date.
 void setModified(boolean modified)
          Set the modified flag.
 void setStart(java.util.Date start)
          Set the point at which work starts.
 void setTotalWork(Duration totalWork)
          Set the total work duration.
 void setWorkPerDay(Duration workPerDay)
          Set the duration of work allocated per day.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimephasedResourceAssignment

public TimephasedResourceAssignment()
Method Detail

getStart

public java.util.Date getStart()
Retrieve the start date.

Returns:
start date

setStart

public void setStart(java.util.Date start)
Set the point at which work starts.

Parameters:
start - start date

getWorkPerDay

public Duration getWorkPerDay()
Retrieve the duration of work allocated per day.

Returns:
duration of work per day

setWorkPerDay

public void setWorkPerDay(Duration workPerDay)
Set the duration of work allocated per day.

Parameters:
workPerDay - duration of work per day

getModified

public boolean getModified()
Retrieve the modified flag.

Returns:
modified flag

setModified

public void setModified(boolean modified)
Set the modified flag.

Parameters:
modified - modified flag

getTotalWork

public Duration getTotalWork()
Retrieve the total work duration.

Returns:
total work duration

setTotalWork

public void setTotalWork(Duration totalWork)
Set the total work duration.

Parameters:
totalWork - cumulative work duration

getFinish

public java.util.Date getFinish()
Retrieve the finish date.

Returns:
finish date

setFinish

public void setFinish(java.util.Date finish)
Set the finish date.

Parameters:
finish - finish date

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object


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