Java Doc for AssignmentDetail.java in  » Project-Management » OpenProj » com » projity » pm » assignment » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Project Management » OpenProj » com.projity.pm.assignment 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.projity.pm.assignment.AssignmentDetail

AssignmentDetail
final public class AssignmentDetail implements Schedule,HasCalendar,Cloneable,Serializable,ContourTypes(Code)
Class representing the non-scheduling part of resource assignments. It is immutable


Field Summary
 longduration
    
 doublepercentComplete
    
transient  Raterate
    
final static  longserialVersionUID
    

Constructor Summary
 AssignmentDetail(Task task, Resource resource, double units, int requestDemandType, long delay)
     Construct an assignment.

Method Summary
public  voidaddCalendarTime(long start, long end)
    
 voidadjustRemainingDuration(long newRemainingDuration)
    
 voidadjustRemainingUnits(double newUnits)
    
 voidadjustRemainingWork(double multiplier)
    
 voidadjustWorkingDuration(long newWorkingDuration)
     Allow setting of working duration.
public  ObjectbackupDetail()
    
 doublecalcOvertimeUnits()
     Calculate the overtime value from the overtime work field.
public  longcalcTotalDelay()
    
 longcalcWork()
    
 longcalcWorkingDuration()
     MSProject displays duration as only the working duration except in fixed duration tasks.
public  voidclearDuration()
    
public  Objectclone()
    
public  voidconsumeIntervals(IntervalConsumer consumer)
    
 voidconvertToBaselineAssignment(boolean useDefaultCalendar)
    
public  voiddebugSetWorkContour(AbstractContour contour)
    
 longeffectiveBaselineFinish(Object baseline)
    
 longeffectiveBaselineStart()
    
 longeffectiveBaselineStart(Object baseline)
    
 voidextend(long end, long extendDuration)
    
public  voidextendBefore(long startOffset, long extendDuration)
    
 longextractDelay()
    
public  longgetActualDuration()
    
public  longgetActualFinish()
    
public  longgetActualStart()
    
 AssignmentgetBaselineAssignment()
    
 AssignmentgetBaselineAssignment(Object baseline, boolean createIfDoestExist)
    
final public  longgetCompletedThrough()
    
 AbstractContourBucket[]getContour(Object type)
    
 AbstractContourgetCostContour()
    
 intgetCostRateIndex()
    
public  longgetDelay()
    
public  longgetDependencyStart()
    
public  longgetDuration()
    
final public  longgetEarliestStop()
    
public  WorkCalendargetEffectiveWorkCalendar()
    
public  longgetElapsedDuration()
    
public  longgetEnd()
    
 longgetFinish()
    
public  longgetLevelingDelay()
    
public  longgetOvertimeWork()
    
public  doublegetPercentComplete()
    
 MutableIntervalgetRangeThatIntervalCanBeMoved(long start, long end)
    
final public  RategetRate()
    
public  longgetRemainingDuration()
    
public  intgetRequestDemandType()
    
 ResourcegetResource()
    
 longgetResourceAvailability()
    
public  longgetResume()
    
 longgetSplitDuration()
    
public  longgetStart()
     The assignment start is calculated like this: Get the task start.
public  longgetStop()
     returns calculated completed date.
 TaskgetTask()
    
 TaskSchedulegetTaskSchedule()
    
 TaskSchedulegetTaskScheduleOfAssignment()
    
 longgetTaskStart()
    
 doublegetUnits()
    
public  WorkCalendargetWorkCalendar()
    
 AbstractContourgetWorkContour()
    
 booleanhasDuration()
    
public  voidinvalidateAssignmentCalendar()
    
public  DocumentinvalidateCalendar()
    
 booleanisBaseline()
    
public  booleanisComplete()
    
public  booleanisInvalidIntersectionCalendar()
    
public  booleanisJustModified()
    
final public  booleanisTemporal()
    
public  voidmoveInterval(Object eventSource, long start, long end, ScheduleInterval oldInterval, boolean isChild)
    
public  voidmoveRemainingToDate(long date)
    
 voidrecalculateDuration()
    
public  voidremoveEmptyBucketAtDuration(long atDuration)
    
 voidremoveFillerAfter(long stop)
     Remove any filler periods in the contour after a certain date.
 voidreplaceResourceAndUnits(double units, Resource resource)
     Set just the units and the resource.
public  voidrestoreDetail(Object source, Object detail, boolean isChild)
    
public  voidsetActualDuration(long actualDuration)
    
Parameters:
  actualDuration - The actualDuration to set.
public  voidsetActualFinish(long actualFinish)
     Sets the actual finish.
public  voidsetActualStart(long actualStart)
    
public  voidsetComplete(boolean complete)
    
public  voidsetCompletedThrough(long completedThrough)
    
 voidsetContour(Object type, Collection bucketList)
    
 voidsetContour(Object type, AbstractContourBucket[] buckets)
    
 voidsetCostRateIndex(int costRateIndex)
    
 voidsetDelay(long delay)
    
public  voidsetDependencyStart(long dependencyStart)
    
public  voidsetDuration(long duration)
    
public  voidsetEnd(long end)
    
 voidsetLevelingDelay(long levelingDelay)
    
 voidsetOvertimeWork(long overtimeWork)
    
public  voidsetPercentComplete(double percentComplete)
    
final public  voidsetRate(Rate rate)
    
 voidsetRateUnit(int timeUnit)
    
public  voidsetRemainingDuration(long remainingDuration)
    
 voidsetRequestDemandType(int requestDemandType)
    
public  voidsetResource(Resource resource)
    
public  voidsetResume(long resume)
    
public  voidsetStart(long start)
     Sets the assignment start.
public  voidsetStop(long stop)
    
public  voidsetTask(Task task)
    
 voidsetTaskSchedule(TaskSchedule taskSchedule)
    
 voidsetUnits(double units)
    
public  voidsetWorkCalendar(WorkCalendar workCalendar)
    
 voidsetWorkContour(AbstractContour contour)
    
 voidshift(long start, long end, long shiftDuration)
    
public  voidsplit(Object eventSource, long from, long to)
    
public  StringtoString()
    

Field Detail
duration
long duration(Code)



percentComplete
double percentComplete(Code)



rate
transient Rate rate(Code)



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
AssignmentDetail
AssignmentDetail(Task task, Resource resource, double units, int requestDemandType, long delay)(Code)
Construct an assignment. The arguments are those that are presented in the assign resource dialog
Parameters:
  task -
Parameters:
  resource -
Parameters:
  units -
Parameters:
  requestDemandType - -Normally empty




Method Detail
addCalendarTime
public void addCalendarTime(long start, long end)(Code)



adjustRemainingDuration
void adjustRemainingDuration(long newRemainingDuration)(Code)

Parameters:
  duration - The duration to set.



adjustRemainingUnits
void adjustRemainingUnits(double newUnits)(Code)

Parameters:
  units - The units to set.



adjustRemainingWork
void adjustRemainingWork(double multiplier)(Code)



adjustWorkingDuration
void adjustWorkingDuration(long newWorkingDuration)(Code)
Allow setting of working duration. MSProject displays working duration (excludes non-work intervals) except when task type is fixed duration, in which case it shows duration with non-work intervals
Parameters:
  newWorkingDuration -



backupDetail
public Object backupDetail()(Code)



calcOvertimeUnits
double calcOvertimeUnits()(Code)
Calculate the overtime value from the overtime work field. MSProject distributes overtime uniformly over the working days of the assignment. overtime value



calcTotalDelay
public long calcTotalDelay()(Code)



calcWork
long calcWork()(Code)
Calculate the total work by multiplying units by the calculated duration total work.



calcWorkingDuration
long calcWorkingDuration()(Code)
MSProject displays duration as only the working duration except in fixed duration tasks. duration with non-work periods excluded



clearDuration
public void clearDuration()(Code)



clone
public Object clone()(Code)



consumeIntervals
public void consumeIntervals(IntervalConsumer consumer)(Code)



convertToBaselineAssignment
void convertToBaselineAssignment(boolean useDefaultCalendar)(Code)



debugSetWorkContour
public void debugSetWorkContour(AbstractContour contour)(Code)

Parameters:
  contour - The contour to set.TODO get rid of this



effectiveBaselineFinish
long effectiveBaselineFinish(Object baseline)(Code)



effectiveBaselineStart
long effectiveBaselineStart()(Code)



effectiveBaselineStart
long effectiveBaselineStart(Object baseline)(Code)



extend
void extend(long end, long extendDuration)(Code)



extendBefore
public void extendBefore(long startOffset, long extendDuration)(Code)

Parameters:
  startOffset -
Parameters:
  extendDuration -



extractDelay
long extractDelay()(Code)



getActualDuration
public long getActualDuration()(Code)
Returns the actualDuration.



getActualFinish
public long getActualFinish()(Code)



getActualStart
public long getActualStart()(Code)



getBaselineAssignment
Assignment getBaselineAssignment()(Code)



getBaselineAssignment
Assignment getBaselineAssignment(Object baseline, boolean createIfDoestExist)(Code)



getCompletedThrough
final public long getCompletedThrough()(Code)



getContour
AbstractContourBucket[] getContour(Object type)(Code)



getCostContour
AbstractContour getCostContour()(Code)
Returns the costContour.



getCostRateIndex
int getCostRateIndex()(Code)
Returns the costRateIndex.



getDelay
public long getDelay()(Code)
Accessor for the assignment's delay delay



getDependencyStart
public long getDependencyStart()(Code)
Use the start dependency in the task schedule



getDuration
public long getDuration()(Code)
Returns the duration.



getEarliestStop
final public long getEarliestStop()(Code)



getEffectiveWorkCalendar
public WorkCalendar getEffectiveWorkCalendar()(Code)



getElapsedDuration
public long getElapsedDuration()(Code)



getEnd
public long getEnd()(Code)



getFinish
long getFinish()(Code)



getLevelingDelay
public long getLevelingDelay()(Code)



getOvertimeWork
public long getOvertimeWork()(Code)



getPercentComplete
public double getPercentComplete()(Code)
Returns the percentComplete.



getRangeThatIntervalCanBeMoved
MutableInterval getRangeThatIntervalCanBeMoved(long start, long end)(Code)



getRate
final public Rate getRate()(Code)



getRemainingDuration
public long getRemainingDuration()(Code)



getRequestDemandType
public int getRequestDemandType()(Code)
Returns the requestDemandType.



getResource
Resource getResource()(Code)
Returns the resource.



getResourceAvailability
long getResourceAvailability()(Code)
returns the amount of effort that the resource as available to work on the assignment



getResume
public long getResume()(Code)



getSplitDuration
long getSplitDuration()(Code)



getStart
public long getStart()(Code)
The assignment start is calculated like this: Get the task start. If the assignment is not started, use the task's dependency date if it's later than the start Add in any delay



getStop
public long getStop()(Code)
returns calculated completed date. If there is no advancement, the date is start date



getTask
Task getTask()(Code)
Returns the task.



getTaskSchedule
TaskSchedule getTaskSchedule()(Code)
Returns the schedule.



getTaskScheduleOfAssignment
TaskSchedule getTaskScheduleOfAssignment()(Code)



getTaskStart
long getTaskStart()(Code)



getUnits
double getUnits()(Code)
Accessor for units (value of work) units



getWorkCalendar
public WorkCalendar getWorkCalendar()(Code)



getWorkContour
AbstractContour getWorkContour()(Code)
Returns the contour.



hasDuration
boolean hasDuration()(Code)



invalidateAssignmentCalendar
public void invalidateAssignmentCalendar()(Code)



invalidateCalendar
public Document invalidateCalendar()(Code)



isBaseline
boolean isBaseline()(Code)



isComplete
public boolean isComplete()(Code)



isInvalidIntersectionCalendar
public boolean isInvalidIntersectionCalendar()(Code)



isJustModified
public boolean isJustModified()(Code)



isTemporal
final public boolean isTemporal()(Code)



moveInterval
public void moveInterval(Object eventSource, long start, long end, ScheduleInterval oldInterval, boolean isChild)(Code)



moveRemainingToDate
public void moveRemainingToDate(long date)(Code)



recalculateDuration
void recalculateDuration()(Code)



removeEmptyBucketAtDuration
public void removeEmptyBucketAtDuration(long atDuration)(Code)



removeFillerAfter
void removeFillerAfter(long stop)(Code)
Remove any filler periods in the contour after a certain date. This is used in the special case of uncompleting a task. There might be filler periods in the contour due to a task dependency that pushed out remaining work that was subsequently completed. When uncompleting, the remaining work needs to have this filler period removed, otherwise there will be an extra delay.
Parameters:
  stop - Stop date



replaceResourceAndUnits
void replaceResourceAndUnits(double units, Resource resource)(Code)
Set just the units and the resource. This is the case when replacing a resource with another, such as the default resource assignment being replaced with a true one
Parameters:
  units -
Parameters:
  resource -



restoreDetail
public void restoreDetail(Object source, Object detail, boolean isChild)(Code)



setActualDuration
public void setActualDuration(long actualDuration)(Code)

Parameters:
  actualDuration - The actualDuration to set. Will fix actual start if needed



setActualFinish
public void setActualFinish(long actualFinish)(Code)
Sets the actual finish. This entails setting the end, the actual start (in case it's not set yet), the duration and the actual duration.



setActualStart
public void setActualStart(long actualStart)(Code)



setComplete
public void setComplete(boolean complete)(Code)



setCompletedThrough
public void setCompletedThrough(long completedThrough)(Code)



setContour
void setContour(Object type, Collection bucketList)(Code)



setContour
void setContour(Object type, AbstractContourBucket[] buckets)(Code)



setCostRateIndex
void setCostRateIndex(int costRateIndex)(Code)



setDelay
void setDelay(long delay)(Code)



setDependencyStart
public void setDependencyStart(long dependencyStart)(Code)



setDuration
public void setDuration(long duration)(Code)



setEnd
public void setEnd(long end)(Code)



setLevelingDelay
void setLevelingDelay(long levelingDelay)(Code)



setOvertimeWork
void setOvertimeWork(long overtimeWork)(Code)



setPercentComplete
public void setPercentComplete(double percentComplete)(Code)

Parameters:
  percentComplete - The percentComplete to set.



setRate
final public void setRate(Rate rate)(Code)



setRateUnit
void setRateUnit(int timeUnit)(Code)

Parameters:
  timeUnit -



setRemainingDuration
public void setRemainingDuration(long remainingDuration)(Code)



setRequestDemandType
void setRequestDemandType(int requestDemandType)(Code)



setResource
public void setResource(Resource resource)(Code)



setResume
public void setResume(long resume)(Code)



setStart
public void setStart(long start)(Code)
Sets the assignment start. Since the assigment start is an offset (usually 0) from task start, setting a later start means setting a delay for the assignment. Also, any levelling delay is cleared



setStop
public void setStop(long stop)(Code)



setTask
public void setTask(Task task)(Code)



setTaskSchedule
void setTaskSchedule(TaskSchedule taskSchedule)(Code)

Parameters:
  taskSchedule - The taskSchedule to set.



setUnits
void setUnits(double units)(Code)



setWorkCalendar
public void setWorkCalendar(WorkCalendar workCalendar)(Code)



setWorkContour
void setWorkContour(AbstractContour contour)(Code)



shift
void shift(long start, long end, long shiftDuration)(Code)



split
public void split(Object eventSource, long from, long to)(Code)



toString
public String toString()(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.