Java Doc for Assignment.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.Assignment

Assignment
final public class Assignment implements Schedule,Association,Allocation,Delayable,HasTimeDistributedData,TimeDistributedFields,EarnedValueValues,EarnedValueFields,AssignmentSpecificFields,HasKey,BelongsToDocument,HasRequestDemandType,UpdatesFromTimesheet,CanSupplyRateUnit,HasCostRateIndex,Cloneable,DataObject(Code)
Class representing resource assignments


Field Summary
 AssignmentDetaildetail
    
final static  longserialVersionUID
    

Constructor Summary
public  Assignment(Assignment from)
    
public  Assignment(AssignmentDetail detail)
    

Method Summary
public  doubleactualCost(long start, long end)
    
public  doubleactualFixedCost(long start, long end)
    
public  longactualWork(long start, long end)
    
public  doubleacwp(long start, long end)
    
public  voidaddCalendarTime(long start, long end)
    
public  voidadjustRemainingDuration(long newRemainingDuration, boolean doChildren)
    
public  voidadjustRemainingDurationIfWorkingAtTaskEnd(long newRemainingDuration)
    
public  voidadjustRemainingUnits(double newRemainingUnits, double oldRemainingUnits, boolean doChildren, boolean conserveTotalUnits)
    
public  voidadjustRemainingWork(double multiplier, boolean doChildren)
    
public  voidadjustWorkingDuration(long newWorkingDuration)
     Allow setting of working duration.
public  booleanapplyTimesheet(Collection fieldArray, long timesheetUpdateDate)
    
public  doublebac(long start, long end)
    
public  ObjectbackupDetail()
    
public  doublebaselineCost(long start, long end)
    
public  longbaselineWork(long start, long end)
    
public  doublebcwp(long start, long end)
    
public  doublebcws(long start, long end)
    
public  voidbuildReverseQuery(ReverseQuery reverseQuery)
    
public  doublecalcAll(Object type)
    
public  voidcalcDataBetween(Object type, long start, long end)
    
public  voidcalcDataBetween(Object type, HasStartAndEnd generator, CalculatedValues values)
    
public static  voidcalcDataBetween(AssignmentFieldFunctor dataFunctor, SelectFrom clause, HasStartAndEnd generator, CalculatedValues values)
    
public  longcalcOffsetFrom(long startDate, long dependencyDate, boolean ahead, boolean remainingOnly, boolean useSooner)
    
public static  voidcalcResourceAvailabilityBetween(Resource resource, HasStartAndEnd generator, CalculatedValues values)
    
public  longcalcTotalDelay()
    
public  longcalcWork()
    
public  CollectionchildrenToRollup()
    
public  voidclearDuration()
    
public  Objectclone()
    
public  ObjectcloneWithResource(Resource resource)
    
public  ObjectcloneWithResourceAndTask(Resource resource, Task task)
    
public  ObjectcloneWithTask(Task task)
    
public  voidconsumeIntervals(IntervalConsumer consumer)
    
public  ContourBucketIntervalGeneratorcontourGeneratorInstance(Object type)
    
public  ContourBucketIntervalGeneratorcontourGeneratorInstance(Object type, long start)
    
public  voidconvertToBaselineAssignment(boolean useDefaultCalendar)
    
public  booleancopyFieldsFromTimesheet(Collection fieldArray)
    
public  voidcopyPrincipalFieldsFrom(Association from)
    
public  doublecost(long start, long end)
    
public  voiddebugSetWorkContour(AbstractContour contour)
    
public  voiddoAddService(Object eventSource)
    
public  voiddoRemoveService(Object eventSource)
    
public  voiddoUpdateService(Object eventSource)
    
public  doubleefficiency()
    
public  voidextend(long start, long end, long extendDuration)
    
public  voidextendBefore(long start, long end, long extendDuration)
    
public  booleanfieldHideActualCost(FieldContext fieldContext)
    
public  booleanfieldHideActualFixedCost(FieldContext fieldContext)
    
public  booleanfieldHideActualWork(FieldContext fieldContext)
    
public  booleanfieldHideAcwp(FieldContext fieldContext)
    
public  booleanfieldHideBac(FieldContext fieldContext)
    
public  booleanfieldHideBaselineCost(int numBaseline, FieldContext fieldContext)
    
public  booleanfieldHideBaselineWork(int numBaseline, FieldContext fieldContext)
    
public  booleanfieldHideBcwp(FieldContext fieldContext)
    
public  booleanfieldHideBcws(FieldContext fieldContext)
    
public  booleanfieldHideCost(FieldContext fieldContext)
    
public  booleanfieldHideCpi(FieldContext fieldContext)
    
public  booleanfieldHideCv(FieldContext fieldContext)
    
public  booleanfieldHideCvPercent(FieldContext fieldContext)
    
public  booleanfieldHideEac(FieldContext fieldContext)
    
public  booleanfieldHideSpi(FieldContext fieldContext)
    
public  booleanfieldHideSv(FieldContext fieldContext)
    
public  booleanfieldHideSvPercent(FieldContext fieldContext)
    
public  booleanfieldHideTcpi(FieldContext fieldContext)
    
public  booleanfieldHideVac(FieldContext fieldContext)
    
public  booleanfieldHideWork(FieldContext fieldContext)
    
public  doublefixedCost(long start, long end)
    
public  voidforEachWorkingInterval(Closure visitor, boolean mergeWorking, WorkCalendar workCalendar)
     calls back on for all "gantt bar" intervals having matching rates.
public  ClosureforResource(Closure visitor)
    
public  ClosureforTask(Closure visitor)
    
public  voidforceUnits(double units)
    
public  doublegetActualCost(FieldContext fieldContext)
    
public  longgetActualDuration()
    
public  longgetActualFinish()
    
public  doublegetActualFixedCost(FieldContext fieldContext)
    
public  longgetActualStart()
    
public  longgetActualWork(FieldContext fieldContext)
    
public  doublegetAcwp(FieldContext fieldContext)
    
public  doublegetBac(FieldContext fieldContext)
    
public  AssignmentgetBaselineAssignment(Object baseline, boolean createIfDoesntExist)
    
public  doublegetBaselineCost(int numBaseline, FieldContext fieldContext)
    
public  longgetBaselineWork(int numBaseline, FieldContext fieldContext)
    
public  doublegetBcwp(FieldContext fieldContext)
    
public  doublegetBcws(FieldContext fieldContext)
    
public  ImageLinkgetBudgetStatusIndicator()
    
final public  DategetCachedEnd()
    
final public  DategetCachedStart()
    
final public  longgetCompletedThrough()
    
public  AbstractContourBucket[]getContour(Object type)
    
public  doublegetCost()
    
public  doublegetCost(FieldContext fieldContext)
    
public  intgetCostRateIndex()
    
public  doublegetCpi(FieldContext fieldContext)
    
public  DategetCreated()
    
public  doublegetCsi(FieldContext fieldContext)
    
public  doublegetCv(FieldContext fieldContext)
    
public  doublegetCvPercent(FieldContext fieldContext)
    
public  AssignmentFieldFunctorgetDataSelect(Object type, SelectFrom clause, boolean all)
    
public  longgetDateAtValue(Object type, double value)
    
public  longgetDateAtWorkFraction(double workFraction)
    
public  longgetDeadline()
    
public  longgetDelay()
    
public  StringgetDelegatedToName()
    
public  longgetDependencyStart()
    
public  AssignmentDetailgetDetail()
    
public  DocumentgetDocument()
    
public  DocumentgetDocument(boolean leftObject)
    
public  longgetDuration()
    
public  longgetDurationMillis()
    
public  doublegetEac(FieldContext fieldContext)
    
final public  longgetEarliestStop()
    
public  WorkCalendargetEffectiveWorkCalendar()
    
public  longgetElapsedDuration()
    
public  longgetEnd()
    
public  longgetFinish()
    
public  longgetFinishOffset()
    
public  doublegetFixedCost(FieldContext fieldContext)
    
public  longgetId()
    
public static  AssignmentgetInstance(Task task, Resource resource, double units, int requestDemandType)
    
public static  AssignmentgetInstance(Task task, Resource resource, double units, long delay)
    
final public  doublegetLaborUnits()
    
final public  longgetLastTimesheetUpdate()
    
public  ObjectgetLeft()
    
public  longgetLevelingDelay()
    
public  doublegetMostLoadedAssignmentUnits()
    
public  StringgetName()
    
public  StringgetName(FieldContext context)
    
public  ProjectgetOwningProject()
    
public  doublegetPercentComplete()
    
public  ProjectgetProject()
    
public  StringgetProjectName()
    
public  MutableIntervalgetRangeThatIntervalCanBeMoved(long startOffset, long endOffset)
    
final public  RategetRate()
    
public static  FieldgetRateField()
    
public  RateFormatgetRateFormat()
    
public  doublegetRemainingCost(FieldContext fieldContext)
    
public  longgetRemainingDuration()
    
final public  doublegetRemainingLaborUnits()
    
final public  doublegetRemainingUnits()
    
public  longgetRemainingWork(FieldContext fieldContext)
    
public  longgetRemainingWork()
    
public  intgetRequestDemandType()
    
public static  FieldgetRequestDemandTypeField()
    
public  ResourcegetResource()
    
public  longgetResourceAvailability()
    
public  StringgetResourceId()
    
public  StringgetResourceName()
    
public  longgetResume()
    
public  ObjectgetRight()
    
public  ImageLinkgetScheduleStatusIndicator()
    
public  doublegetSpi(FieldContext fieldContext)
    
public  longgetStart()
    
public  longgetStartOffset()
    
public  longgetStop()
    
public  doublegetSv(FieldContext fieldContext)
    
public  doublegetSvPercent(FieldContext fieldContext)
    
public  TaskgetTask()
    
public  StringgetTaskId()
    
public  StringgetTaskName()
    
 TaskSchedulegetTaskScheduleOfAssignment()
    
public  doublegetTcpi(FieldContext fieldContext)
    
public  StringgetTimeUnitLabel()
    
public  AssignmentgetTimesheetAssignment()
    
public  longgetTimesheetFinish()
    
public  longgetTimesheetStart()
    
final public  intgetTimesheetStatus()
    
public  StringgetTimesheetStatusName()
    
public  StringgetTimesheetStatusStyle()
    
public  longgetUniqueId()
    
public  StringgetUniqueIdString()
    
final public  doublegetUnits()
    
public static  FieldgetUnitsField()
    
public  doublegetVac(FieldContext fieldContext)
    
public  longgetWork(FieldContext fieldContext)
    
public  AbstractContourgetWorkContour()
    
public  intgetWorkContourType()
    
final public  intgetWorkflowState()
    
public  booleanhasDuration()
    
public  booleaninProgress()
    
public static  PredicateinstanceofPredicate()
    
public  voidinvalidateAssignmentCalendar()
    
public  booleanisActiveBetween(long start, long end)
    
public  booleanisAssignment()
    
public  booleanisComplete()
    
public  booleanisCritical()
    
public  booleanisDefault()
    
public  booleanisDirty()
    
public  booleanisExternal()
    
 booleanisInRange(long start, long finish)
    
public  booleanisInitialized()
    
public  booleanisInvalidIntersectionCalendar()
    
public  booleanisJustModified()
    
public  booleanisLabor()
    
public  booleanisLocal()
    
public  booleanisMaterial()
    
public  booleanisMilestone()
    
public  booleanisMine()
    
public  booleanisNormal()
    
public  booleanisPendingTimesheetUpdate()
    
public  booleanisProratedCost()
    
public  booleanisReadOnly()
    
public  booleanisReadOnlyActualWork(FieldContext fieldContext)
    
public  booleanisReadOnlyFixedCost(FieldContext fieldContext)
    
public  booleanisReadOnlyRemainingWork(FieldContext fieldContext)
    
public  booleanisReadOnlyUnits(FieldContext fieldContext)
    
public  booleanisReadOnlyWork(FieldContext fieldContext)
    
public  booleanisSubproject()
    
public  booleanisSummary()
    
public  booleanisTemporal()
    
final public  booleanisTimesheetAssignment()
    
public  booleanisTimesheetEditable()
    
public  booleanisTimesheetEntered()
    
public  booleanisTimesheetRejected()
    
public  booleanisTimesheetValidated()
    
public  booleanisUnstarted()
    
public  voidmakeContourPersonal()
    
public  voidmakeFlatIfPossible()
    
public  voidmoveInterval(Object eventSource, long start, long end, ScheduleInterval oldInterval, boolean isChild)
    
public  voidmoveRemainingToDate(long date)
     Move remaining work to the date given.
public  longremainingWork(long start, long end)
    
public  voidrenumber()
    
public  voidreplace(Object newOne, boolean leftObject)
    
public  voidrestoreDetail(Object source, Object detail, boolean isChild)
    
public  voidrestoreDetail(Object detail)
    
public  voidsetActualDuration(long actualDuration)
    
public  voidsetActualFinish(long actualFinish)
    
public  voidsetActualStart(long actualStart)
    
public  voidsetActualWork(long actualWork, FieldContext fieldContext)
    
final public  voidsetCachedEnd(Date savedEnd)
    
final public  voidsetCachedStart(Date savedStart)
    
public  voidsetComplete(boolean complete)
    
public  voidsetCompletedThrough(long completedThrough)
    
public  voidsetCostRateIndex(int val)
    
public  voidsetCreated(Date created)
    
public  voidsetDelay(long delay)
    
public  voidsetDependencyStart(long dependencyStart)
    
public  voidsetDirty(boolean dirty)
    
public  voidsetDuration(long duration)
    
public  voidsetEnd(long end)
    
public  voidsetFixedCost(double fixedCost, FieldContext fieldContext)
    
public  voidsetId(long id)
    
public  voidsetInterval(Object type, long start, long end, double value)
     This treats just a single interval to merge in
Parameters:
  type - - WORK or COST.
final public  voidsetLastTimesheetUpdate(long lastTimesheetUpdate)
    
public  voidsetLevelingDelay(long levelingDelay)
    
public  voidsetLocal(boolean local)
    
public  voidsetName(String name)
    
public  voidsetOvertimeWork(long overtimeWork)
    
public  voidsetPercentComplete(double percentComplete)
    
final public  voidsetRate(Rate rate)
    
public  voidsetRateUnit(int timeUnit)
    
public  voidsetRemainingDuration(long remainingDuration)
    
public  voidsetRemainingWork(long remainingWork, FieldContext fieldContext)
    
public  voidsetRequestDemandType(int requestDemandType)
    
public  voidsetResume(long resume)
    
public  voidsetStart(long start)
    
public  voidsetStop(long stop)
    
public  voidsetTaskAndResource(Task task, Resource resource)
    
public  voidsetTaskSchedule(TaskSchedule taskSchedule)
    
final public  voidsetTimesheetAssignment(boolean timesheetAssignment)
    
final public  voidsetTimesheetStatus(int timesheetStatus)
    
 voidsetTotalDelay(long newDelay)
     Set the total delay for the assignment.
public  voidsetUniqueId(long id)
    
public  voidsetWork(long work, FieldContext context)
    
public  voidsetWorkContourType(int workContourType)
    
final public  voidsetWorkflowState(int workflowState)
    
public  voidshift(long start, long end, long shiftDuration)
    
public  voidsplit(Object eventSource, long from, long to)
    
public  voidtestValid(boolean allowDuplicate)
    
public  StringtoExternalId()
     For use in sharing with external systems such as salesforce.
public  StringtoString()
    
public  voidusePropertiesOf(Assignment from)
     Copy the properies from another assignment.
public  StringvaluesString()
    
public  booleanverifyBounds(long start, long end)
    
 AssignmentFieldFunctorwork(SelectFrom clause)
    
public  longwork(long start, long end)
    
public  longwork()
    
public  QueryworkQuery()
    

Field Detail
detail
AssignmentDetail detail(Code)



serialVersionUID
final static long serialVersionUID(Code)




Constructor Detail
Assignment
public Assignment(Assignment from)(Code)



Assignment
public Assignment(AssignmentDetail detail)(Code)




Method Detail
actualCost
public double actualCost(long start, long end)(Code)



actualFixedCost
public double actualFixedCost(long start, long end)(Code)



actualWork
public long actualWork(long start, long end)(Code)



acwp
public double acwp(long start, long end)(Code)



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



adjustRemainingDuration
public void adjustRemainingDuration(long newRemainingDuration, boolean doChildren)(Code)

Parameters:
  duration - The duration to set.



adjustRemainingDurationIfWorkingAtTaskEnd
public void adjustRemainingDurationIfWorkingAtTaskEnd(long newRemainingDuration)(Code)



adjustRemainingUnits
public void adjustRemainingUnits(double newRemainingUnits, double oldRemainingUnits, boolean doChildren, boolean conserveTotalUnits)(Code)

Parameters:
  units - The units to set.



adjustRemainingWork
public void adjustRemainingWork(double multiplier, boolean doChildren)(Code)



adjustWorkingDuration
public 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 -



applyTimesheet
public boolean applyTimesheet(Collection fieldArray, long timesheetUpdateDate)(Code)



bac
public double bac(long start, long end)(Code)



backupDetail
public Object backupDetail()(Code)



baselineCost
public double baselineCost(long start, long end)(Code)



baselineWork
public long baselineWork(long start, long end)(Code)



bcwp
public double bcwp(long start, long end)(Code)



bcws
public double bcws(long start, long end)(Code)



buildReverseQuery
public void buildReverseQuery(ReverseQuery reverseQuery)(Code)



calcAll
public double calcAll(Object type)(Code)
Calculate the total cost



calcDataBetween
public void calcDataBetween(Object type, long start, long end)(Code)



calcDataBetween
public void calcDataBetween(Object type, HasStartAndEnd generator, CalculatedValues values)(Code)



calcDataBetween
public static void calcDataBetween(AssignmentFieldFunctor dataFunctor, SelectFrom clause, HasStartAndEnd generator, CalculatedValues values)(Code)



calcOffsetFrom
public long calcOffsetFrom(long startDate, long dependencyDate, boolean ahead, boolean remainingOnly, boolean useSooner)(Code)



calcResourceAvailabilityBetween
public static void calcResourceAvailabilityBetween(Resource resource, HasStartAndEnd generator, CalculatedValues values)(Code)



calcTotalDelay
public long calcTotalDelay()(Code)



calcWork
public long calcWork()(Code)



childrenToRollup
public Collection childrenToRollup()(Code)



clearDuration
public void clearDuration()(Code)



clone
public Object clone()(Code)



cloneWithResource
public Object cloneWithResource(Resource resource)(Code)



cloneWithResourceAndTask
public Object cloneWithResourceAndTask(Resource resource, Task task)(Code)



cloneWithTask
public Object cloneWithTask(Task task)(Code)



consumeIntervals
public void consumeIntervals(IntervalConsumer consumer)(Code)



contourGeneratorInstance
public ContourBucketIntervalGenerator contourGeneratorInstance(Object type)(Code)
Gets an instance of a generator that acts on the cost contour instance of generator



contourGeneratorInstance
public ContourBucketIntervalGenerator contourGeneratorInstance(Object type, long start)(Code)
Gets an instance of a generator that acts on the cost contour instance of generator



convertToBaselineAssignment
public void convertToBaselineAssignment(boolean useDefaultCalendar)(Code)



copyFieldsFromTimesheet
public boolean copyFieldsFromTimesheet(Collection fieldArray)(Code)



copyPrincipalFieldsFrom
public void copyPrincipalFieldsFrom(Association from)(Code)



cost
public double cost(long start, long end)(Code)



debugSetWorkContour
public void debugSetWorkContour(AbstractContour contour)(Code)

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



doAddService
public void doAddService(Object eventSource)(Code)



doRemoveService
public void doRemoveService(Object eventSource)(Code)



doUpdateService
public void doUpdateService(Object eventSource)(Code)



efficiency
public double efficiency()(Code)



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



extendBefore
public void extendBefore(long start, long end, long extendDuration)(Code)



fieldHideActualCost
public boolean fieldHideActualCost(FieldContext fieldContext)(Code)



fieldHideActualFixedCost
public boolean fieldHideActualFixedCost(FieldContext fieldContext)(Code)



fieldHideActualWork
public boolean fieldHideActualWork(FieldContext fieldContext)(Code)



fieldHideAcwp
public boolean fieldHideAcwp(FieldContext fieldContext)(Code)



fieldHideBac
public boolean fieldHideBac(FieldContext fieldContext)(Code)



fieldHideBaselineCost
public boolean fieldHideBaselineCost(int numBaseline, FieldContext fieldContext)(Code)



fieldHideBaselineWork
public boolean fieldHideBaselineWork(int numBaseline, FieldContext fieldContext)(Code)



fieldHideBcwp
public boolean fieldHideBcwp(FieldContext fieldContext)(Code)



fieldHideBcws
public boolean fieldHideBcws(FieldContext fieldContext)(Code)



fieldHideCost
public boolean fieldHideCost(FieldContext fieldContext)(Code)
Time Distributed Fields



fieldHideCpi
public boolean fieldHideCpi(FieldContext fieldContext)(Code)



fieldHideCv
public boolean fieldHideCv(FieldContext fieldContext)(Code)



fieldHideCvPercent
public boolean fieldHideCvPercent(FieldContext fieldContext)(Code)



fieldHideEac
public boolean fieldHideEac(FieldContext fieldContext)(Code)



fieldHideSpi
public boolean fieldHideSpi(FieldContext fieldContext)(Code)



fieldHideSv
public boolean fieldHideSv(FieldContext fieldContext)(Code)



fieldHideSvPercent
public boolean fieldHideSvPercent(FieldContext fieldContext)(Code)



fieldHideTcpi
public boolean fieldHideTcpi(FieldContext fieldContext)(Code)



fieldHideVac
public boolean fieldHideVac(FieldContext fieldContext)(Code)



fieldHideWork
public boolean fieldHideWork(FieldContext fieldContext)(Code)



fixedCost
public double fixedCost(long start, long end)(Code)



forEachWorkingInterval
public void forEachWorkingInterval(Closure visitor, boolean mergeWorking, WorkCalendar workCalendar)(Code)
calls back on for all "gantt bar" intervals having matching rates. Matching is determined by a comparator.
Parameters:
  visitor - : callback
Parameters:
  mergeWorking - : if true, then matching occurs if the periods hava non-zero work, otherwise the workmust be an exact match.



forResource
public Closure forResource(Closure visitor)(Code)



forTask
public Closure forTask(Closure visitor)(Code)



forceUnits
public void forceUnits(double units)(Code)



getActualCost
public double getActualCost(FieldContext fieldContext)(Code)



getActualDuration
public long getActualDuration()(Code)



getActualFinish
public long getActualFinish()(Code)



getActualFixedCost
public double getActualFixedCost(FieldContext fieldContext)(Code)



getActualStart
public long getActualStart()(Code)



getActualWork
public long getActualWork(FieldContext fieldContext)(Code)



getAcwp
public double getAcwp(FieldContext fieldContext)(Code)
Earned Value Fields



getBac
public double getBac(FieldContext fieldContext)(Code)



getBaselineAssignment
public Assignment getBaselineAssignment(Object baseline, boolean createIfDoesntExist)(Code)



getBaselineCost
public double getBaselineCost(int numBaseline, FieldContext fieldContext)(Code)



getBaselineWork
public long getBaselineWork(int numBaseline, FieldContext fieldContext)(Code)



getBcwp
public double getBcwp(FieldContext fieldContext)(Code)



getBcws
public double getBcws(FieldContext fieldContext)(Code)



getBudgetStatusIndicator
public ImageLink getBudgetStatusIndicator()(Code)



getCachedEnd
final public Date getCachedEnd()(Code)



getCachedStart
final public Date getCachedStart()(Code)



getCompletedThrough
final public long getCompletedThrough()(Code)



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



getCost
public double getCost()(Code)



getCost
public double getCost(FieldContext fieldContext)(Code)



getCostRateIndex
public int getCostRateIndex()(Code)



getCpi
public double getCpi(FieldContext fieldContext)(Code)



getCreated
public Date getCreated()(Code)



getCsi
public double getCsi(FieldContext fieldContext)(Code)



getCv
public double getCv(FieldContext fieldContext)(Code)



getCvPercent
public double getCvPercent(FieldContext fieldContext)(Code)



getDataSelect
public AssignmentFieldFunctor getDataSelect(Object type, SelectFrom clause, boolean all)(Code)



getDateAtValue
public long getDateAtValue(Object type, double value)(Code)
This function will calculate the exact date/time when the value is achieved
Parameters:
  type -
Parameters:
  value -



getDateAtWorkFraction
public long getDateAtWorkFraction(double workFraction)(Code)



getDeadline
public long getDeadline()(Code)



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



getDelegatedToName
public String getDelegatedToName()(Code)



getDependencyStart
public long getDependencyStart()(Code)



getDetail
public AssignmentDetail getDetail()(Code)
Returns the detail.



getDocument
public Document getDocument()(Code)



getDocument
public Document getDocument(boolean leftObject)(Code)



getDuration
public long getDuration()(Code)



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



getEac
public double getEac(FieldContext fieldContext)(Code)



getEarliestStop
final public long getEarliestStop()(Code)



getEffectiveWorkCalendar
public WorkCalendar getEffectiveWorkCalendar()(Code)



getElapsedDuration
public long getElapsedDuration()(Code)



getEnd
public long getEnd()(Code)



getFinish
public long getFinish()(Code)



getFinishOffset
public long getFinishOffset()(Code)



getFixedCost
public double getFixedCost(FieldContext fieldContext)(Code)



getId
public long getId()(Code)



getInstance
public static Assignment getInstance(Task task, Resource resource, double units, int requestDemandType)(Code)



getInstance
public static Assignment getInstance(Task task, Resource resource, double units, long delay)(Code)



getLaborUnits
final public double getLaborUnits()(Code)



getLastTimesheetUpdate
final public long getLastTimesheetUpdate()(Code)



getLeft
public Object getLeft()(Code)



getLevelingDelay
public long getLevelingDelay()(Code)



getMostLoadedAssignmentUnits
public double getMostLoadedAssignmentUnits()(Code)



getName
public String getName()(Code)



getName
public String getName(FieldContext context)(Code)

Parameters:
  context -



getOwningProject
public Project getOwningProject()(Code)



getPercentComplete
public double getPercentComplete()(Code)



getProject
public Project getProject()(Code)



getProjectName
public String getProjectName()(Code)



getRangeThatIntervalCanBeMoved
public MutableInterval getRangeThatIntervalCanBeMoved(long startOffset, long endOffset)(Code)



getRate
final public Rate getRate()(Code)



getRateField
public static Field getRateField()(Code)



getRateFormat
public RateFormat getRateFormat()(Code)



getRemainingCost
public double getRemainingCost(FieldContext fieldContext)(Code)



getRemainingDuration
public long getRemainingDuration()(Code)



getRemainingLaborUnits
final public double getRemainingLaborUnits()(Code)



getRemainingUnits
final public double getRemainingUnits()(Code)



getRemainingWork
public long getRemainingWork(FieldContext fieldContext)(Code)



getRemainingWork
public long getRemainingWork()(Code)



getRequestDemandType
public int getRequestDemandType()(Code)



getRequestDemandTypeField
public static Field getRequestDemandTypeField()(Code)



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



getResourceAvailability
public long getResourceAvailability()(Code)



getResourceId
public String getResourceId()(Code)



getResourceName
public String getResourceName()(Code)



getResume
public long getResume()(Code)



getRight
public Object getRight()(Code)



getScheduleStatusIndicator
public ImageLink getScheduleStatusIndicator()(Code)



getSpi
public double getSpi(FieldContext fieldContext)(Code)



getStart
public long getStart()(Code)



getStartOffset
public long getStartOffset()(Code)



getStop
public long getStop()(Code)



getSv
public double getSv(FieldContext fieldContext)(Code)



getSvPercent
public double getSvPercent(FieldContext fieldContext)(Code)



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



getTaskId
public String getTaskId()(Code)



getTaskName
public String getTaskName()(Code)



getTaskScheduleOfAssignment
TaskSchedule getTaskScheduleOfAssignment()(Code)



getTcpi
public double getTcpi(FieldContext fieldContext)(Code)



getTimeUnitLabel
public String getTimeUnitLabel()(Code)



getTimesheetAssignment
public Assignment getTimesheetAssignment()(Code)



getTimesheetFinish
public long getTimesheetFinish()(Code)



getTimesheetStart
public long getTimesheetStart()(Code)



getTimesheetStatus
final public int getTimesheetStatus()(Code)



getTimesheetStatusName
public String getTimesheetStatusName()(Code)



getTimesheetStatusStyle
public String getTimesheetStatusStyle()(Code)



getUniqueId
public long getUniqueId()(Code)



getUniqueIdString
public String getUniqueIdString()(Code)



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



getUnitsField
public static Field getUnitsField()(Code)



getVac
public double getVac(FieldContext fieldContext)(Code)



getWork
public long getWork(FieldContext fieldContext)(Code)



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



getWorkContourType
public int getWorkContourType()(Code)



getWorkflowState
final public int getWorkflowState()(Code)



hasDuration
public boolean hasDuration()(Code)
See if assignment duration is empty



inProgress
public boolean inProgress()(Code)



instanceofPredicate
public static Predicate instanceofPredicate()(Code)



invalidateAssignmentCalendar
public void invalidateAssignmentCalendar()(Code)



isActiveBetween
public boolean isActiveBetween(long start, long end)(Code)



isAssignment
public boolean isAssignment()(Code)



isComplete
public boolean isComplete()(Code)



isCritical
public boolean isCritical()(Code)



isDefault
public boolean isDefault()(Code)



isDirty
public boolean isDirty()(Code)



isExternal
public boolean isExternal()(Code)



isInRange
boolean isInRange(long start, long finish)(Code)



isInitialized
public boolean isInitialized()(Code)



isInvalidIntersectionCalendar
public boolean isInvalidIntersectionCalendar()(Code)



isJustModified
public boolean isJustModified()(Code)



isLabor
public boolean isLabor()(Code)



isLocal
public boolean isLocal()(Code)



isMaterial
public boolean isMaterial()(Code)



isMilestone
public boolean isMilestone()(Code)



isMine
public boolean isMine()(Code)



isNormal
public boolean isNormal()(Code)



isPendingTimesheetUpdate
public boolean isPendingTimesheetUpdate()(Code)



isProratedCost
public boolean isProratedCost()(Code)



isReadOnly
public boolean isReadOnly()(Code)



isReadOnlyActualWork
public boolean isReadOnlyActualWork(FieldContext fieldContext)(Code)



isReadOnlyFixedCost
public boolean isReadOnlyFixedCost(FieldContext fieldContext)(Code)



isReadOnlyRemainingWork
public boolean isReadOnlyRemainingWork(FieldContext fieldContext)(Code)



isReadOnlyUnits
public boolean isReadOnlyUnits(FieldContext fieldContext)(Code)



isReadOnlyWork
public boolean isReadOnlyWork(FieldContext fieldContext)(Code)



isSubproject
public boolean isSubproject()(Code)



isSummary
public boolean isSummary()(Code)



isTemporal
public boolean isTemporal()(Code)



isTimesheetAssignment
final public boolean isTimesheetAssignment()(Code)



isTimesheetEditable
public boolean isTimesheetEditable()(Code)



isTimesheetEntered
public boolean isTimesheetEntered()(Code)



isTimesheetRejected
public boolean isTimesheetRejected()(Code)



isTimesheetValidated
public boolean isTimesheetValidated()(Code)



isUnstarted
public boolean isUnstarted()(Code)



makeContourPersonal
public void makeContourPersonal()(Code)



makeFlatIfPossible
public void makeFlatIfPossible()(Code)



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



moveRemainingToDate
public void moveRemainingToDate(long date)(Code)
Move remaining work to the date given. It will either be moved later or sooner. Also, if at the date, there is a gap in the work, the gap is reduced so that the work begins on the date
Parameters:
  date -



remainingWork
public long remainingWork(long start, long end)(Code)



renumber
public void renumber()(Code)



replace
public void replace(Object newOne, boolean leftObject)(Code)



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



restoreDetail
public void restoreDetail(Object detail)(Code)



setActualDuration
public void setActualDuration(long actualDuration)(Code)



setActualFinish
public void setActualFinish(long actualFinish)(Code)



setActualStart
public void setActualStart(long actualStart)(Code)



setActualWork
public void setActualWork(long actualWork, FieldContext fieldContext)(Code)



setCachedEnd
final public void setCachedEnd(Date savedEnd)(Code)



setCachedStart
final public void setCachedStart(Date savedStart)(Code)



setComplete
public void setComplete(boolean complete)(Code)



setCompletedThrough
public void setCompletedThrough(long completedThrough)(Code)



setCostRateIndex
public void setCostRateIndex(int val)(Code)



setCreated
public void setCreated(Date created)(Code)

Parameters:
  created -



setDelay
public void setDelay(long delay)(Code)



setDependencyStart
public void setDependencyStart(long dependencyStart)(Code)



setDirty
public void setDirty(boolean dirty)(Code)



setDuration
public void setDuration(long duration)(Code)



setEnd
public void setEnd(long end)(Code)



setFixedCost
public void setFixedCost(double fixedCost, FieldContext fieldContext)(Code)



setId
public void setId(long id)(Code)

Parameters:
  id -



setInterval
public void setInterval(Object type, long start, long end, double value)(Code)
This treats just a single interval to merge in
Parameters:
  type - - WORK or COST. can also be a time distributed field
Parameters:
  start - - start of interval
Parameters:
  end - - end of interval
Parameters:
  value - - value of interval



setLastTimesheetUpdate
final public void setLastTimesheetUpdate(long lastTimesheetUpdate)(Code)



setLevelingDelay
public void setLevelingDelay(long levelingDelay)(Code)



setLocal
public void setLocal(boolean local)(Code)



setName
public void setName(String name)(Code)

Parameters:
  name -



setOvertimeWork
public void setOvertimeWork(long overtimeWork)(Code)



setPercentComplete
public void setPercentComplete(double percentComplete)(Code)



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



setRateUnit
public void setRateUnit(int timeUnit)(Code)

Parameters:
  timeUnit -



setRemainingDuration
public void setRemainingDuration(long remainingDuration)(Code)



setRemainingWork
public void setRemainingWork(long remainingWork, FieldContext fieldContext)(Code)



setRequestDemandType
public void setRequestDemandType(int requestDemandType)(Code)



setResume
public void setResume(long resume)(Code)



setStart
public void setStart(long start)(Code)



setStop
public void setStop(long stop)(Code)



setTaskAndResource
public void setTaskAndResource(Task task, Resource resource)(Code)



setTaskSchedule
public void setTaskSchedule(TaskSchedule taskSchedule)(Code)



setTimesheetAssignment
final public void setTimesheetAssignment(boolean timesheetAssignment)(Code)



setTimesheetStatus
final public void setTimesheetStatus(int timesheetStatus)(Code)



setTotalDelay
void setTotalDelay(long newDelay)(Code)
Set the total delay for the assignment. Priority is given to changing the assignment delay over the leveling delay.
Parameters:
  newDelay -



setUniqueId
public void setUniqueId(long id)(Code)

Parameters:
  id -



setWork
public void setWork(long work, FieldContext context)(Code)



setWorkContourType
public void setWorkContourType(int workContourType)(Code)



setWorkflowState
final public void setWorkflowState(int workflowState)(Code)



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



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



testValid
public void testValid(boolean allowDuplicate) throws InvalidAssociationException(Code)



toExternalId
public String toExternalId()(Code)
For use in sharing with external systems such as salesforce. Uniquely identifies object



toString
public String toString()(Code)



usePropertiesOf
public void usePropertiesOf(Assignment from)(Code)
Copy the properies from another assignment. This also includes the contour. However, it does NOT include the resource or the units. This is called in the context of replacing an assignment.
Parameters:
  from - Assignment to copy from



valuesString
public String valuesString()(Code)



verifyBounds
public boolean verifyBounds(long start, long end)(Code)



work
AssignmentFieldFunctor work(SelectFrom clause)(Code)
Fills in a SelectFrom clause with "select work from contour"
Parameters:
  clause - to fill in work field functor



work
public long work(long start, long end)(Code)



work
public long work()(Code)



workQuery
public Query workQuery()(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.