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


java.lang.Object
   com.projity.pm.dependency.Dependency

Dependency
public class Dependency implements Association,BelongsToDocument,DataObject(Code)


Field Summary
final public static  longNEEDS_CALCULATION
    
transient  booleannewId
    
final static  longserialVersionUID
    


Method Summary
public  longcalcDependencyDate(boolean forward, long begin, long end, boolean hasDuration)
    
public  longcalcForwardDependencyDate(long begin, long end, boolean hasDuration)
    
public  longcalcReverseDependencyDate(long begin, long end, boolean hasDuration)
     get the latest finish time for the predecessor.
public  voidcopyPrincipalFieldsFrom(Association from)
    
public  voiddoAddService(Object eventSource)
    
public  voiddoRemoveService(Object eventSource)
    
public  voiddoUpdateService(Object eventSource)
    
public  voidfireCreateEvent(Object eventSource)
    
public  voidfireDeleteEvent(Object eventSource)
    
public  voidfireUpdateEvent(Object eventSource)
    
public  longgetDate(boolean early)
    
public  intgetDependencyType()
    
public  DocumentgetDocument()
    
final public  WorkCalendargetEffectiveWorkCalendar()
    
public static  DependencygetInstance(HasDependencies predecessor, HasDependencies successor)
    
public static  DependencygetInstance(HasDependencies predecessor, HasDependencies successor, int dependencyType, long lead)
    
public  longgetLag()
    
public  longgetLeadValue()
     Method to calculate the lead in millis from the lead value stored in the dependency.
public  ObjectgetLeft()
    
public  DocumentgetMasterDocument()
    
public  StringgetName()
    
public  HasDependenciesgetPredecessor()
    
public  longgetPredecessorId()
    
public  StringgetPredecessorName()
    
public  StringgetQualifiedPredecessorName()
    
public  StringgetQualifiedSuccessorName()
    
public  ObjectgetRight()
    
public  HasDependenciesgetSuccessor()
    
public  longgetSuccessorId()
    
public  StringgetSuccessorName()
    
public  HasDependenciesgetTask(boolean pred)
    
public  longgetUniqueId()
    
public  StringgetUniqueIdString()
    
public  StringhtmlString()
    
 booleanisCircular()
    
public  booleanisCrossProject()
    
public  booleanisDefault()
    
public  booleanisDirty()
    
final public  booleanisDisabled()
    
public  booleanisExternal()
    
 booleanisLinkToChild()
    
 booleanisLinkToParent()
    
public  booleanisNew()
    
public  booleanrefersToDocument(Document document)
    
public  voidreplace(Object newOne, boolean leftObject)
    
public  voidsetDate(boolean early, long date)
    
public  voidsetDependencyType(int dependencyType)
    
public  voidsetDirty(boolean dirty)
    
final public  voidsetDisabled(boolean disabled)
    
public  voidsetLag(long lead)
    
public  voidsetName(String name)
    
public  voidsetNew(boolean newId)
    
public  voidsetPredecessor(HasDependencies predecessor)
    
public  voidsetSuccessor(HasDependencies successor)
    
public  voidsetUniqueId(long id)
    
public  voidtestValid(boolean allowDuplicate)
    
public  StringtoString()
    
public  voidupdateDependencyLists()
    

Field Detail
NEEDS_CALCULATION
final public static long NEEDS_CALCULATION(Code)



newId
transient boolean newId(Code)



serialVersionUID
final static long serialVersionUID(Code)





Method Detail
calcDependencyDate
public long calcDependencyDate(boolean forward, long begin, long end, boolean hasDuration)(Code)



calcForwardDependencyDate
public long calcForwardDependencyDate(long begin, long end, boolean hasDuration)(Code)
Calc the date that this dependency will cause its successor task (if forward scheduling) or predecessor (if reverse scheduling)
Parameters:
  begin -
Parameters:
  end -
Parameters:
  duration -



calcReverseDependencyDate
public long calcReverseDependencyDate(long begin, long end, boolean hasDuration)(Code)
get the latest finish time for the predecessor. The current ScheduleWindow in the backward pass of cp algo is the predecessor. It is possible that the milestone handling code needs more work begin is actually the late finish and end is early finish



copyPrincipalFieldsFrom
public void copyPrincipalFieldsFrom(Association from)(Code)
Copy the fields lag and type



doAddService
public void doAddService(Object eventSource)(Code)



doRemoveService
public void doRemoveService(Object eventSource)(Code)



doUpdateService
public void doUpdateService(Object eventSource)(Code)



fireCreateEvent
public void fireCreateEvent(Object eventSource)(Code)



fireDeleteEvent
public void fireDeleteEvent(Object eventSource)(Code)



fireUpdateEvent
public void fireUpdateEvent(Object eventSource)(Code)



getDate
public long getDate(boolean early)(Code)



getDependencyType
public int getDependencyType()(Code)
Returns the dependencyType.



getDocument
public Document getDocument()(Code)



getEffectiveWorkCalendar
final public WorkCalendar getEffectiveWorkCalendar()(Code)
Returns the calendar.



getInstance
public static Dependency getInstance(HasDependencies predecessor, HasDependencies successor)(Code)



getInstance
public static Dependency getInstance(HasDependencies predecessor, HasDependencies successor, int dependencyType, long lead)(Code)



getLag
public long getLag()(Code)



getLeadValue
public long getLeadValue()(Code)
Method to calculate the lead in millis from the lead value stored in the dependency. In normal cases, it just extracts the milliseconds, but if the lead is a percentage, then it is calculated based on predecessor duration. If the value is expressed as elapsed %, then the flag elapsed is applied to the resulting value. In this case, the rule is that the lead itself has an elapsed duration which is calculated based on the tasks (non-elapsed) duration.
Parameters:
  dependency - lead in milliseconds with elapsed flag set if the dependency iselapsed



getLeft
public Object getLeft()(Code)



getMasterDocument
public Document getMasterDocument()(Code)



getName
public String getName()(Code)



getPredecessor
public HasDependencies getPredecessor()(Code)



getPredecessorId
public long getPredecessorId()(Code)



getPredecessorName
public String getPredecessorName()(Code)



getQualifiedPredecessorName
public String getQualifiedPredecessorName()(Code)



getQualifiedSuccessorName
public String getQualifiedSuccessorName()(Code)



getRight
public Object getRight()(Code)



getSuccessor
public HasDependencies getSuccessor()(Code)



getSuccessorId
public long getSuccessorId()(Code)



getSuccessorName
public String getSuccessorName()(Code)



getTask
public HasDependencies getTask(boolean pred)(Code)



getUniqueId
public long getUniqueId()(Code)



getUniqueIdString
public String getUniqueIdString()(Code)



htmlString
public String htmlString()(Code)



isCircular
boolean isCircular()(Code)



isCrossProject
public boolean isCrossProject()(Code)



isDefault
public boolean isDefault()(Code)



isDirty
public boolean isDirty()(Code)



isDisabled
final public boolean isDisabled()(Code)



isExternal
public boolean isExternal()(Code)



isLinkToChild
boolean isLinkToChild()(Code)



isLinkToParent
boolean isLinkToParent()(Code)



isNew
public boolean isNew()(Code)



refersToDocument
public boolean refersToDocument(Document document)(Code)



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



setDate
public void setDate(boolean early, long date)(Code)



setDependencyType
public void setDependencyType(int dependencyType) throws InvalidAssociationException(Code)

Parameters:
  dependencyType - The dependencyType to set.
throws:
  InvalidAssociationException -



setDirty
public void setDirty(boolean dirty)(Code)



setDisabled
final public void setDisabled(boolean disabled)(Code)



setLag
public void setLag(long lead)(Code)



setName
public void setName(String name)(Code)



setNew
public void setNew(boolean newId)(Code)



setPredecessor
public void setPredecessor(HasDependencies predecessor)(Code)

Parameters:
  predecessor - The predecessor to set.



setSuccessor
public void setSuccessor(HasDependencies successor)(Code)



setUniqueId
public void setUniqueId(long id)(Code)



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



toString
public String toString()(Code)



updateDependencyLists
public void updateDependencyLists()(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.