Java Doc for Task.java in  » Project-Management » OpenProj » com » projity » pm » task » 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.task 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.projity.pm.task.Task

All known Subclasses:   com.projity.pm.task.Buffer,  com.projity.pm.task.NormalTask,
Task
abstract public class Task implements HasKey,HasNotes,HasCalendar,HasDependencies,Schedule,ScheduleWindow,Snapshottable,HasTimeDistributedData,HasPriority,CustomFields,BelongsToDocument,BelongsToHierarchy,DataObject,CanBeLeveled,UpdatesFromTimesheet,HasExpenseType(Code)


Field Summary
protected  longactualStart
    
protected transient  intcalculationStateCount
    
protected  intconstraintType
    
transient  TaskSchedulecurrentSchedule
    
protected transient  CustomFieldsImplcustomFields
    
protected  longdeadline
    
protected transient  intdebugDependencyOrder
    
transient  ResourcedelegatedTo
    
protected transient  HasDependenciesdependencies
    
protected transient  booleandirty
    
protected transient  TaskScheduleearlySchedule
    
protected  intearnedValueMethod
    
protected  intexpenseType
    
protected transient  booleanexternal
    
protected transient  HasKeyImplhasKey
    
protected transient  booleaninSubproject
    
protected transient  longlastSavedFinish
    
protected transient  longlastSavedStart
    
protected transient  TaskSchedulelateSchedule
    
protected  longlevelingDelay
    
protected  booleanmarkTaskAsMilestone
    
protected transient  booleanmarkerStatus
    
protected  Stringnotes
    
transient  ProjectowningProject
    
 doublephysicalPercentComplete
    
transient  Projectproject
    
protected transient  longprojectId
    
final static  longserialVersionUID
    
protected transient  Snapshottablesnapshots
    
protected static  FieldstartFieldInstance
    
protected  Stringwbs
    
transient  CollectionwbsChildrenNodes
    
transient  TaskwbsParentTask
    
protected  longwindowEarlyFinish
    
protected  longwindowEarlyStart
    
protected  longwindowLateFinish
    
protected  longwindowLateStart
    

Constructor Summary
public  Task()
    
public  Task(boolean local)
    

Method Summary
public  voidarrangeTask(Collection addTo, boolean markerStatus, int depth)
    
public  longcalcOffsetFrom(long startDate, long dependencyDate, boolean ahead, boolean remainingOnly, boolean useSooner)
    
public  voidcleanClone()
    
 voidcleanUp(Object eventSource, boolean deep, boolean undo, boolean cleanDependencies)
    
public  voidclearDuration()
    
public  Objectclone()
    
public  voidcloneTo(Task task)
    
public  voidconnectToProject()
    
public  voidcopyScheduleTo(Task to)
    
public  booleandependsOn(HasDependencies other)
    
public  booleanfieldHideSubprojectFile(FieldContext fieldContext)
    
public  booleanfieldHideSubprojectReadOnly(FieldContext fieldContext)
    
public static  ClosureforAllChildren(Closure visitor, Predicate filter)
    
public static  ClosureforAllChildren(Closure visitor)
    
public static  ClosureforParent(Closure visitor)
    
public static  ClosureforProject(Closure visitor)
    
public  voidforSnapshots(Closure c)
    
public  voidforSnapshots(Closure c, int s)
    
public  voidforSnapshotsAssignments(Closure c, boolean onlyCurrent)
    
public  voidforSnapshotsAssignments(Closure c, int s)
    
public  longgetActualDuration()
    
public  longgetActualFinish()
    
public  longgetActualStart()
    
public  AssignmentgetBaselineAssignment(Resource resource)
    
public  AssignmentgetBaselineAssignment(Resource resource, Object snapshot, boolean createIfDoesntExist)
    
public  TaskSnapshotgetBaselineSnapshot()
    
final public  intgetCalculationStateCount()
    
public  longgetConstraintDate()
    
public  intgetConstraintType()
    
public  DategetCreated()
    
public  TaskSchedulegetCurrentSchedule()
    
public  doublegetCustomCost(int i)
    
public  longgetCustomDate(int i)
    
public  longgetCustomDuration(int i)
    
public  CustomFieldsgetCustomFields()
    
public  longgetCustomFinish(int i)
    
public  booleangetCustomFlag(int i)
    
public  doublegetCustomNumber(int i)
    
public  longgetCustomStart(int i)
    
public  StringgetCustomText(int i)
    
public  longgetDeadline()
    
final public  intgetDebugDependencyOrder()
    
public  ResourcegetDelegatedTo()
    
public  StringgetDelegatedToName()
    
public  AssociationListgetDependencyList(boolean pred)
    
public  longgetDependencyStart()
    
public  DocumentgetDocument()
    
public  longgetDurationMillis()
    
public  longgetEarlyFinish()
    
final public  TaskSchedulegetEarlySchedule()
    
public  longgetEarlyStart()
    
public  intgetEarnedValueMethod()
    
public  intgetEffectiveExpenseType()
    
public  WorkCalendargetEffectiveWorkCalendar()
    
public  longgetElapsedDuration()
    
public  ProjectgetEnclosingProject()
    
public  SubProjgetEnclosingSubproject()
    
public  NodegetEnclosingSubprojectNode()
    
public  longgetEnd()
    
public static  FieldgetEndField()
    
public  intgetExpenseType()
    
final public  longgetFinishSlack()
     The amount of excess time an activity has between its Early Finish and Late Finish dates.
public  longgetFreeSlack()
     Used in calculating free slack.
public  HasCalendargetHasCalendar()
    
public  longgetId()
    
final public  longgetLastSavedFinish()
    
final public  longgetLastSavedStart()
    
public  longgetLateFinish()
    
final public  TaskSchedulegetLateSchedule()
    
public  longgetLateStart()
    
final public  longgetLevelingDelay()
    
public  DocumentgetMasterDocument()
    
public  StringgetName()
    
public  StringgetName(FieldContext context)
    
public  StringgetNotes()
    
public  intgetOutlineLevel(int outlineNumber)
    
public  intgetOutlineLevel()
    
final public  ProjectgetOwningProject()
    
public  longgetParentId(int outlineNumber)
    
public  doublegetPercentComplete()
    
public  doublegetPhysicalPercentComplete()
    
public  AssociationListgetPredecessorList()
    
public  StringgetPredecessors()
    
public  ProjectgetProject()
    
public  WorkCalendargetProjectCalendar()
    
final public  longgetProjectId()
    
public  longgetRawDuration()
    
public  longgetRemainingDuration()
    
public  ProjectgetRootProject()
    
final public  TaskSchedulegetSchedule(int scheduleType)
    
public  longgetSplitDuration()
    
public  longgetStart()
    
public static  FieldgetStartField()
    
final public  longgetStartSlack()
     The amount of excess time an activity has between its Early Start and Late Start dates.
public  StringgetSubprojectFile()
    
public  AssociationListgetSuccessorList()
    
public  StringgetSuccessors()
    
public  StringgetTaskAndProjectName()
    
final public  longgetTotalSlack()
    
public  longgetUniqueId()
    
public  StringgetUniqueIdPredecessors()
    
public  StringgetUniqueIdSuccessors()
    
public  StringgetWbs()
    
public  CollectiongetWbsChildrenNodes()
    
public  ListgetWbsChildrenTasks()
    
public  StringgetWbsParentName()
    
public  TaskgetWbsParentTask()
    
public  StringgetWbsPredecessors()
    
public  StringgetWbsSuccessors()
    
public  longgetWindowEarlyFinish()
    
public  longgetWindowEarlyStart()
    
public  longgetWindowLateFinish()
    
public  longgetWindowLateStart()
    
abstract public  booleanhasDuration()
    
public  booleaninProgress()
    
protected  voidinitializeTransientTaskObjects()
    
protected  voidinitializeTransientTaskObjectsAfterDeserialization()
    
public static  PredicateinstanceofPredicate()
    
public  voidinvalidateSchedules()
    
public  booleanisAssignable()
    
public  booleanisAssignment()
    
public  booleanisComplete()
    
public  booleanisCritical()
    
final protected  booleanisDatelessConstraintType()
    
public  booleanisDelegatedToUser()
    
public  booleanisDirty()
    
final public  booleanisExternal()
    
final public  booleanisInSubproject()
    
protected  booleanisInitialized()
    
public  booleanisJustModified()
    
public  booleanisMarkTaskAsMilestone()
    
public  booleanisMilestone()
    
public  booleanisMissedDeadline()
    
public  booleanisNormal()
    
public  booleanisOrWasCritical()
    
public  booleanisParent()
    
public  booleanisReadOnly()
    
public  booleanisReadOnlyConstraintDate(FieldContext fieldContext)
    
final public  booleanisReverseScheduled()
    
public  booleanisSubproject()
    
public  booleanisSubprojectReadOnly()
    
public  booleanisSummary()
    
public  booleanisUnstarted()
    
public  booleanisWbsParent()
    
public  booleanliesInSubproject()
    
protected  intmakeValidConstraintType(int type)
    
 voidmarkAllDependentTasksAsNeedingRecalculation(boolean doSelf)
    
public  voidmarkTaskAsNeedingRecalculation()
    
public  voidrecalculate(Object eventSource)
    
public  voidrecalculateLater(Object eventSource)
    
 voidrestrictToValidConstraintType()
    
public  voidsetActualDuration(long actualDuration)
    
public  voidsetActualFinish(long actualFinish)
    
abstract public  voidsetActualStart(long actualStart)
    
protected  voidsetAllSchedules(long start, long finish)
    
public  voidsetAllSchedulesToCurrentDates()
    
final public  voidsetCalculationStateCount(int calculationStateCount)
    
public  voidsetConstraintDate(long date)
    
public  voidsetConstraintType(int constraintType)
    
public  voidsetCreated(Date created)
    
public  voidsetCustomCost(int i, double cost)
    
public  voidsetCustomDate(int i, long date)
    
public  voidsetCustomDuration(int i, long duration)
    
public  voidsetCustomFinish(int i, long finish)
    
public  voidsetCustomFlag(int i, boolean flag)
    
public  voidsetCustomNumber(int i, double number)
    
public  voidsetCustomStart(int i, long start)
    
public  voidsetCustomText(int i, String text)
    
public  voidsetDeadline(long deadline)
    
final public  voidsetDebugDependencyOrder(int debugDependencyOrder)
    
public  voidsetDelegatedTo(Resource delegatedTo)
    
public  voidsetDependencyStart(long dependencyStart)
    
public  voidsetDirty(boolean dirty)
    
public  voidsetEarnedValueMethod(int earnedValueMethod)
    
public  voidsetEnd(long end)
    
public  voidsetEnd(long end, FieldContext fieldContext)
    
public  voidsetExpenseType(int budgetType)
    
final public  voidsetExternal(boolean external)
    
public  voidsetFinishNoEarlierThan(long date)
    
public  voidsetFinishNoLaterThan(long date)
    
public  voidsetForward(boolean forward)
    
public  voidsetId(long id)
    
final public  voidsetInSubproject(boolean inSubproject)
    
final public  voidsetLastSavedFinish(long currendFinish)
    
final public  voidsetLastSavedStart(long currentStart)
    
final public  voidsetLevelingDelay(long levelingDelay)
    
public  voidsetMarkTaskAsMilestone(boolean markTaskAsMilestone)
    
final public  voidsetMarkerStatus(boolean markerStatus)
    
public  voidsetMustFinishOn(long mustFinish)
    
public  voidsetMustStartOn(long mustStart)
    
public  voidsetName(String name)
    
public  voidsetNotes(String notes)
    
final public  voidsetOwningProject(Project owningProject)
    
public  voidsetPhysicalPercentComplete(double physicalPercentComplete)
    
public  voidsetPredecessors(String predecessors)
    
public  voidsetProject(Project project)
    
final public  voidsetProjectId(long projectId)
    
public  voidsetRawConstraintType(int constraintType)
    
abstract public  voidsetRawDuration(long duration)
    
public  voidsetRemainingDuration(long remainingDuration)
    
public  voidsetScheduleConstraint(int constraintType, long date)
    
public  voidsetScheduleConstraintAndUpdate(int constraintType, long date)
    
public  voidsetStart(long start, FieldContext fieldContext)
     Set the dependency start, not the task schedule start.
public  voidsetStart(long start)
    
public  voidsetStartNoEarlierThan(long date)
    
public  voidsetStartNoLaterThan(long date)
    
public  voidsetSubprojectFile(String sub)
    
public  voidsetSuccessors(String successors)
    
public  voidsetUniqueId(long id)
    
public  voidsetUniqueIdPredecessors(String predecessors)
    
public  voidsetUniqueIdSuccessors(String successors)
    
public  voidsetWbs(String wbs)
    
public  voidsetWbsChildrenNodes(Collection wbsChildrenNodes)
    
public  voidsetWbsParent(Task wbsParentTask)
    
public  voidsetWindowEarlyFinish(long windowEarlyFinish)
    
public  voidsetWindowEarlyStart(long windowEarlyStart)
    
public  voidsetWindowLateFinish(long windowLateFinish)
    
public  voidsetWindowLateStart(long windowLateStart)
    
public  booleanstartsBeforeProject()
    
public  StringtoString()
    
public  voidupdateCachedDuration()
    
public  voidupdateEndSentinel()
    
public  booleanupdateProjectTask(long date, boolean updateWorkAsCompleteThrough, boolean setFractionalPercentComplete)
     Update a task from the Update Project dialog.
public  voidupdateStartSentinel()
    
public  booleanwbsDescendentOf(Task potentialParentTask)
     See if a this task is a child, grandchild...

Field Detail
actualStart
protected long actualStart(Code)



calculationStateCount
protected transient int calculationStateCount(Code)



constraintType
protected int constraintType(Code)



currentSchedule
transient TaskSchedule currentSchedule(Code)



customFields
protected transient CustomFieldsImpl customFields(Code)



deadline
protected long deadline(Code)



debugDependencyOrder
protected transient int debugDependencyOrder(Code)



delegatedTo
transient Resource delegatedTo(Code)



dependencies
protected transient HasDependencies dependencies(Code)



dirty
protected transient boolean dirty(Code)



earlySchedule
protected transient TaskSchedule earlySchedule(Code)



earnedValueMethod
protected int earnedValueMethod(Code)



expenseType
protected int expenseType(Code)



external
protected transient boolean external(Code)



hasKey
protected transient HasKeyImpl hasKey(Code)



inSubproject
protected transient boolean inSubproject(Code)



lastSavedFinish
protected transient long lastSavedFinish(Code)



lastSavedStart
protected transient long lastSavedStart(Code)



lateSchedule
protected transient TaskSchedule lateSchedule(Code)



levelingDelay
protected long levelingDelay(Code)



markTaskAsMilestone
protected boolean markTaskAsMilestone(Code)



markerStatus
protected transient boolean markerStatus(Code)



notes
protected String notes(Code)



owningProject
transient Project owningProject(Code)



physicalPercentComplete
double physicalPercentComplete(Code)



project
transient Project project(Code)
aggregation



projectId
protected transient long projectId(Code)



serialVersionUID
final static long serialVersionUID(Code)



snapshots
protected transient Snapshottable snapshots(Code)



startFieldInstance
protected static Field startFieldInstance(Code)



wbs
protected String wbs(Code)



wbsChildrenNodes
transient Collection wbsChildrenNodes(Code)



wbsParentTask
transient Task wbsParentTask(Code)



windowEarlyFinish
protected long windowEarlyFinish(Code)



windowEarlyStart
protected long windowEarlyStart(Code)



windowLateFinish
protected long windowLateFinish(Code)



windowLateStart
protected long windowLateStart(Code)




Constructor Detail
Task
public Task()(Code)



Task
public Task(boolean local)(Code)




Method Detail
arrangeTask
public void arrangeTask(Collection addTo, boolean markerStatus, int depth)(Code)



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



cleanClone
public void cleanClone()(Code)



cleanUp
void cleanUp(Object eventSource, boolean deep, boolean undo, boolean cleanDependencies)(Code)



clearDuration
public void clearDuration()(Code)



clone
public Object clone()(Code)



cloneTo
public void cloneTo(Task task)(Code)



connectToProject
public void connectToProject()(Code)



copyScheduleTo
public void copyScheduleTo(Task to)(Code)



dependsOn
public boolean dependsOn(HasDependencies other)(Code)



fieldHideSubprojectFile
public boolean fieldHideSubprojectFile(FieldContext fieldContext)(Code)



fieldHideSubprojectReadOnly
public boolean fieldHideSubprojectReadOnly(FieldContext fieldContext)(Code)



forAllChildren
public static Closure forAllChildren(Closure visitor, Predicate filter)(Code)



forAllChildren
public static Closure forAllChildren(Closure visitor)(Code)



forParent
public static Closure forParent(Closure visitor)(Code)



forProject
public static Closure forProject(Closure visitor)(Code)



forSnapshots
public void forSnapshots(Closure c)(Code)



forSnapshots
public void forSnapshots(Closure c, int s)(Code)



forSnapshotsAssignments
public void forSnapshotsAssignments(Closure c, boolean onlyCurrent)(Code)



forSnapshotsAssignments
public void forSnapshotsAssignments(Closure c, int s)(Code)



getActualDuration
public long getActualDuration()(Code)
Actual duration is % complete * duration for all tasks including parents



getActualFinish
public long getActualFinish()(Code)



getActualStart
public long getActualStart()(Code)



getBaselineAssignment
public Assignment getBaselineAssignment(Resource resource)(Code)



getBaselineAssignment
public Assignment getBaselineAssignment(Resource resource, Object snapshot, boolean createIfDoesntExist)(Code)



getBaselineSnapshot
public TaskSnapshot getBaselineSnapshot()(Code)



getCalculationStateCount
final public int getCalculationStateCount()(Code)
Returns the calculationStateCount.



getConstraintDate
public long getConstraintDate()(Code)



getConstraintType
public int getConstraintType()(Code)
Returns the constraintType.



getCreated
public Date getCreated()(Code)



getCurrentSchedule
public TaskSchedule getCurrentSchedule()(Code)
Returns the taskSchedule.



getCustomCost
public double getCustomCost(int i)(Code)



getCustomDate
public long getCustomDate(int i)(Code)



getCustomDuration
public long getCustomDuration(int i)(Code)



getCustomFields
public CustomFields getCustomFields()(Code)



getCustomFinish
public long getCustomFinish(int i)(Code)



getCustomFlag
public boolean getCustomFlag(int i)(Code)



getCustomNumber
public double getCustomNumber(int i)(Code)



getCustomStart
public long getCustomStart(int i)(Code)



getCustomText
public String getCustomText(int i)(Code)



getDeadline
public long getDeadline()(Code)



getDebugDependencyOrder
final public int getDebugDependencyOrder()(Code)



getDelegatedTo
public Resource getDelegatedTo()(Code)
Get value of delegateTo, or if null, recursively get parent's value



getDelegatedToName
public String getDelegatedToName()(Code)



getDependencyList
public AssociationList getDependencyList(boolean pred)(Code)



getDependencyStart
public long getDependencyStart()(Code)
Returns the dependencyStart.



getDocument
public Document getDocument()(Code)



getDurationMillis
public long getDurationMillis()(Code)



getEarlyFinish
public long getEarlyFinish()(Code)
Returns the earlyFinish.



getEarlySchedule
final public TaskSchedule getEarlySchedule()(Code)



getEarlyStart
public long getEarlyStart()(Code)
Returns the earlyStart.



getEarnedValueMethod
public int getEarnedValueMethod()(Code)



getEffectiveExpenseType
public int getEffectiveExpenseType()(Code)



getEffectiveWorkCalendar
public WorkCalendar getEffectiveWorkCalendar()(Code)



getElapsedDuration
public long getElapsedDuration()(Code)



getEnclosingProject
public Project getEnclosingProject()(Code)



getEnclosingSubproject
public SubProj getEnclosingSubproject()(Code)



getEnclosingSubprojectNode
public Node getEnclosingSubprojectNode()(Code)
Will return a node in the master project that holds he subproject



getEnd
public long getEnd()(Code)



getEndField
public static Field getEndField()(Code)



getExpenseType
public int getExpenseType()(Code)



getFinishSlack
final public long getFinishSlack()(Code)
The amount of excess time an activity has between its Early Finish and Late Finish dates.



getFreeSlack
public long getFreeSlack()(Code)
Used in calculating free slack. Free Float = For FS: Early Start (next activity) � Lag (if any) � Early Finish*
Parameters:
  dependencyList -
Parameters:
  duration -



getHasCalendar
public HasCalendar getHasCalendar()(Code)



getId
public long getId()(Code)



getLastSavedFinish
final public long getLastSavedFinish()(Code)



getLastSavedStart
final public long getLastSavedStart()(Code)



getLateFinish
public long getLateFinish()(Code)
Returns the lateFinish.



getLateSchedule
final public TaskSchedule getLateSchedule()(Code)



getLateStart
public long getLateStart()(Code)
Returns the lateStart.



getLevelingDelay
final public long getLevelingDelay()(Code)



getMasterDocument
public Document getMasterDocument()(Code)



getName
public String getName()(Code)



getName
public String getName(FieldContext context)(Code)



getNotes
public String getNotes()(Code)
Returns the notes.



getOutlineLevel
public int getOutlineLevel(int outlineNumber)(Code)



getOutlineLevel
public int getOutlineLevel()(Code)



getOwningProject
final public Project getOwningProject()(Code)



getParentId
public long getParentId(int outlineNumber)(Code)



getPercentComplete
public double getPercentComplete()(Code)
Percent complete is calculated based on assignments



getPhysicalPercentComplete
public double getPhysicalPercentComplete()(Code)
Returns the physicalPercentComplete.



getPredecessorList
public AssociationList getPredecessorList()(Code)
Access to Dependencies



getPredecessors
public String getPredecessors()(Code)



getProject
public Project getProject()(Code)
Returns the project.



getProjectCalendar
public WorkCalendar getProjectCalendar()(Code)



getProjectId
final public long getProjectId()(Code)



getRawDuration
public long getRawDuration()(Code)



getRemainingDuration
public long getRemainingDuration()(Code)



getRootProject
public Project getRootProject()(Code)



getSchedule
final public TaskSchedule getSchedule(int scheduleType)(Code)



getSplitDuration
public long getSplitDuration()(Code)
Returns the splitDuration.



getStart
public long getStart()(Code)
start from task schedule



getStartField
public static Field getStartField()(Code)



getStartSlack
final public long getStartSlack()(Code)
The amount of excess time an activity has between its Early Start and Late Start dates.



getSubprojectFile
public String getSubprojectFile()(Code)



getSuccessorList
public AssociationList getSuccessorList()(Code)



getSuccessors
public String getSuccessors()(Code)



getTaskAndProjectName
public String getTaskAndProjectName()(Code)



getTotalSlack
final public long getTotalSlack()(Code)
Critical path methods for slack



getUniqueId
public long getUniqueId()(Code)



getUniqueIdPredecessors
public String getUniqueIdPredecessors()(Code)



getUniqueIdSuccessors
public String getUniqueIdSuccessors()(Code)



getWbs
public String getWbs()(Code)
Returns the wbs.



getWbsChildrenNodes
public Collection getWbsChildrenNodes()(Code)
Returns the wbsChildrenNodes.



getWbsChildrenTasks
public List getWbsChildrenTasks()(Code)



getWbsParentName
public String getWbsParentName()(Code)



getWbsParentTask
public Task getWbsParentTask()(Code)
Returns the wbsParent.



getWbsPredecessors
public String getWbsPredecessors()(Code)



getWbsSuccessors
public String getWbsSuccessors()(Code)



getWindowEarlyFinish
public long getWindowEarlyFinish()(Code)
Returns the windowEarlyFinish.



getWindowEarlyStart
public long getWindowEarlyStart()(Code)
Returns the windowEarlyStart.



getWindowLateFinish
public long getWindowLateFinish()(Code)
Returns the windowLateFinish.



getWindowLateStart
public long getWindowLateStart()(Code)
Returns the windowLateStart.



hasDuration
abstract public boolean hasDuration()(Code)



inProgress
public boolean inProgress()(Code)



initializeTransientTaskObjects
protected void initializeTransientTaskObjects()(Code)



initializeTransientTaskObjectsAfterDeserialization
protected void initializeTransientTaskObjectsAfterDeserialization()(Code)



instanceofPredicate
public static Predicate instanceofPredicate()(Code)



invalidateSchedules
public void invalidateSchedules()(Code)



isAssignable
public boolean isAssignable()(Code)



isAssignment
public boolean isAssignment()(Code)



isComplete
public boolean isComplete()(Code)



isCritical
public boolean isCritical()(Code)



isDatelessConstraintType
final protected boolean isDatelessConstraintType()(Code)



isDelegatedToUser
public boolean isDelegatedToUser()(Code)



isDirty
public boolean isDirty()(Code)



isExternal
final public boolean isExternal()(Code)



isInSubproject
final public boolean isInSubproject()(Code)



isInitialized
protected boolean isInitialized()(Code)



isJustModified
public boolean isJustModified()(Code)
Used for debugging primarily - says if a task was just modified by last recalculation - either has same count or is one less



isMarkTaskAsMilestone
public boolean isMarkTaskAsMilestone()(Code)



isMilestone
public boolean isMilestone()(Code)



isMissedDeadline
public boolean isMissedDeadline()(Code)



isNormal
public boolean isNormal()(Code)



isOrWasCritical
public boolean isOrWasCritical()(Code)
if task is currently critical or will become critical after CP



isParent
public boolean isParent()(Code)



isReadOnly
public boolean isReadOnly()(Code)



isReadOnlyConstraintDate
public boolean isReadOnlyConstraintDate(FieldContext fieldContext)(Code)



isReverseScheduled
final public boolean isReverseScheduled()(Code)
Is this task reverse scheduled: Is it ALAP in forward scheduling or ASAP in reverse?



isSubproject
public boolean isSubproject()(Code)



isSubprojectReadOnly
public boolean isSubprojectReadOnly()(Code)



isSummary
public boolean isSummary()(Code)



isUnstarted
public boolean isUnstarted()(Code)



isWbsParent
public boolean isWbsParent()(Code)



liesInSubproject
public boolean liesInSubproject()(Code)



makeValidConstraintType
protected int makeValidConstraintType(int type)(Code)



markAllDependentTasksAsNeedingRecalculation
void markAllDependentTasksAsNeedingRecalculation(boolean doSelf)(Code)
Flags all tasks which depend on this one for scheduling as dirty
Parameters:
  doSelf - TODO



markTaskAsNeedingRecalculation
public void markTaskAsNeedingRecalculation()(Code)



recalculate
public void recalculate(Object eventSource)(Code)



recalculateLater
public void recalculateLater(Object eventSource)(Code)



restrictToValidConstraintType
void restrictToValidConstraintType()(Code)
Parent tasks have only 3 possible consraint types ASAP/ALAP (depending on forward or reverse scheduling), SNET, and FNLT



setActualDuration
public void setActualDuration(long actualDuration)(Code)

Parameters:
  actualDuration -



setActualFinish
public void setActualFinish(long actualFinish)(Code)

Parameters:
  actualFinish -



setActualStart
abstract public void setActualStart(long actualStart)(Code)



setAllSchedules
protected void setAllSchedules(long start, long finish)(Code)
Set all schedules to a fixed start and end
Parameters:
  start -
Parameters:
  finish -



setAllSchedulesToCurrentDates
public void setAllSchedulesToCurrentDates()(Code)



setCalculationStateCount
final public void setCalculationStateCount(int calculationStateCount)(Code)

Parameters:
  calculationStateCount - The calculationStateCount to set.



setConstraintDate
public void setConstraintDate(long date)(Code)



setConstraintType
public void setConstraintType(int constraintType) throws FieldParseException(Code)

Parameters:
  constraintType - The constraintType to set.



setCreated
public void setCreated(Date created)(Code)

Parameters:
  created -



setCustomCost
public void setCustomCost(int i, double cost)(Code)



setCustomDate
public void setCustomDate(int i, long date)(Code)



setCustomDuration
public void setCustomDuration(int i, long duration)(Code)



setCustomFinish
public void setCustomFinish(int i, long finish)(Code)



setCustomFlag
public void setCustomFlag(int i, boolean flag)(Code)



setCustomNumber
public void setCustomNumber(int i, double number)(Code)



setCustomStart
public void setCustomStart(int i, long start)(Code)



setCustomText
public void setCustomText(int i, String text)(Code)



setDeadline
public void setDeadline(long deadline)(Code)



setDebugDependencyOrder
final public void setDebugDependencyOrder(int debugDependencyOrder)(Code)



setDelegatedTo
public void setDelegatedTo(Resource delegatedTo)(Code)



setDependencyStart
public void setDependencyStart(long dependencyStart)(Code)

Parameters:
  dependencyStart - The dependencyStart to set.



setDirty
public void setDirty(boolean dirty)(Code)



setEarnedValueMethod
public void setEarnedValueMethod(int earnedValueMethod)(Code)



setEnd
public void setEnd(long end)(Code)

Parameters:
  end -



setEnd
public void setEnd(long end, FieldContext fieldContext)(Code)



setExpenseType
public void setExpenseType(int budgetType)(Code)



setExternal
final public void setExternal(boolean external)(Code)



setFinishNoEarlierThan
public void setFinishNoEarlierThan(long date)(Code)
Set constraint FNET
Parameters:
  date -



setFinishNoLaterThan
public void setFinishNoLaterThan(long date)(Code)
Set constraint FNLT
Parameters:
  date -



setForward
public void setForward(boolean forward)(Code)
Set the task to be forward or rerverse scheduled
Parameters:
  forward -



setId
public void setId(long id)(Code)

Parameters:
  id -



setInSubproject
final public void setInSubproject(boolean inSubproject)(Code)



setLastSavedFinish
final public void setLastSavedFinish(long currendFinish)(Code)



setLastSavedStart
final public void setLastSavedStart(long currentStart)(Code)



setLevelingDelay
final public void setLevelingDelay(long levelingDelay)(Code)



setMarkTaskAsMilestone
public void setMarkTaskAsMilestone(boolean markTaskAsMilestone)(Code)



setMarkerStatus
final public void setMarkerStatus(boolean markerStatus)(Code)

Parameters:
  markerStatus - The markerStatus to set.



setMustFinishOn
public void setMustFinishOn(long mustFinish)(Code)

Parameters:
  mustStart - The date the task must finish on.



setMustStartOn
public void setMustStartOn(long mustStart)(Code)

Parameters:
  mustStart - The date the task must start on.



setName
public void setName(String name)(Code)

Parameters:
  name -



setNotes
public void setNotes(String notes)(Code)

Parameters:
  notes - The notes to set.



setOwningProject
final public void setOwningProject(Project owningProject)(Code)



setPhysicalPercentComplete
public void setPhysicalPercentComplete(double physicalPercentComplete)(Code)

Parameters:
  physicalPercentComplete - The physicalPercentComplete to set.



setPredecessors
public void setPredecessors(String predecessors) throws FieldParseException(Code)



setProject
public void setProject(Project project)(Code)

Parameters:
  project - The project to set.



setProjectId
final public void setProjectId(long projectId)(Code)



setRawConstraintType
public void setRawConstraintType(int constraintType)(Code)



setRawDuration
abstract public void setRawDuration(long duration)(Code)
Sets the duration without controls that setDuration performs
Parameters:
  duration -



setRemainingDuration
public void setRemainingDuration(long remainingDuration)(Code)

Parameters:
  remainingDuration -



setScheduleConstraint
public void setScheduleConstraint(int constraintType, long date)(Code)



setScheduleConstraintAndUpdate
public void setScheduleConstraintAndUpdate(int constraintType, long date)(Code)



setStart
public void setStart(long start, FieldContext fieldContext)(Code)
Set the dependency start, not the task schedule start. Only the CP can do that



setStart
public void setStart(long start)(Code)



setStartNoEarlierThan
public void setStartNoEarlierThan(long date)(Code)
Set constraint SNET
Parameters:
  date -



setStartNoLaterThan
public void setStartNoLaterThan(long date)(Code)
Set constraint SNLT
Parameters:
  date -



setSubprojectFile
public void setSubprojectFile(String sub)(Code)



setSuccessors
public void setSuccessors(String successors) throws FieldParseException(Code)



setUniqueId
public void setUniqueId(long id)(Code)

Parameters:
  id -



setUniqueIdPredecessors
public void setUniqueIdPredecessors(String predecessors) throws FieldParseException(Code)



setUniqueIdSuccessors
public void setUniqueIdSuccessors(String successors) throws FieldParseException(Code)



setWbs
public void setWbs(String wbs)(Code)

Parameters:
  wbs - The wbs to set.



setWbsChildrenNodes
public void setWbsChildrenNodes(Collection wbsChildrenNodes)(Code)

Parameters:
  wbsChildrenNodes - The wbsChildrenNodes to set.



setWbsParent
public void setWbsParent(Task wbsParentTask)(Code)

Parameters:
  wbsParent - The wbsParent to set.



setWindowEarlyFinish
public void setWindowEarlyFinish(long windowEarlyFinish)(Code)

Parameters:
  windowEarlyFinish - The windowEarlyFinish to set.



setWindowEarlyStart
public void setWindowEarlyStart(long windowEarlyStart)(Code)

Parameters:
  windowEarlyStart - The windowEarlyStart to set.



setWindowLateFinish
public void setWindowLateFinish(long windowLateFinish)(Code)

Parameters:
  windowLateFinish - The windowLateFinish to set.



setWindowLateStart
public void setWindowLateStart(long windowLateStart)(Code)

Parameters:
  windowLateStart - The windowLateStart to set.



startsBeforeProject
public boolean startsBeforeProject()(Code)



toString
public String toString()(Code)



updateCachedDuration
public void updateCachedDuration()(Code)



updateEndSentinel
public void updateEndSentinel()(Code)



updateProjectTask
public boolean updateProjectTask(long date, boolean updateWorkAsCompleteThrough, boolean setFractionalPercentComplete)(Code)
Update a task from the Update Project dialog. There are several options:
Parameters:
  date - Date to either update completion to, or to move remaining work to
Parameters:
  updateWorkAsCompleteThrough - If true, then update % complete, if false, then move remainingto the date
Parameters:
  setFractionalPercentComplete - If true, then allow setting of % complete for uncompleted tasks,otherwise, if a task is not completed, it's current completion will not be modified True if task was updated, false if unchanged



updateStartSentinel
public void updateStartSentinel()(Code)



wbsDescendentOf
public boolean wbsDescendentOf(Task potentialParentTask)(Code)
See if a this task is a child, grandchild... of another
Parameters:
  potentialParentTask - - task to see if parent true if the task descends from potentialParentTask



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.