| java.lang.Object com.projity.pm.dependency.Dependency
Method Summary | |
public long | calcDependencyDate(boolean forward, long begin, long end, boolean hasDuration) | public long | calcForwardDependencyDate(long begin, long end, boolean hasDuration) | public long | calcReverseDependencyDate(long begin, long end, boolean hasDuration) get the latest finish time for the predecessor. | public void | copyPrincipalFieldsFrom(Association from) | public void | doAddService(Object eventSource) | public void | doRemoveService(Object eventSource) | public void | doUpdateService(Object eventSource) | public void | fireCreateEvent(Object eventSource) | public void | fireDeleteEvent(Object eventSource) | public void | fireUpdateEvent(Object eventSource) | public long | getDate(boolean early) | public int | getDependencyType() | public Document | getDocument() | final public WorkCalendar | getEffectiveWorkCalendar() | public static Dependency | getInstance(HasDependencies predecessor, HasDependencies successor) | public static Dependency | getInstance(HasDependencies predecessor, HasDependencies successor, int dependencyType, long lead) | public long | getLag() | public long | getLeadValue() Method to calculate the lead in millis from the lead value stored in the
dependency. | public Object | getLeft() | public Document | getMasterDocument() | public String | getName() | public HasDependencies | getPredecessor() | public long | getPredecessorId() | public String | getPredecessorName() | public String | getQualifiedPredecessorName() | public String | getQualifiedSuccessorName() | public Object | getRight() | public HasDependencies | getSuccessor() | public long | getSuccessorId() | public String | getSuccessorName() | public HasDependencies | getTask(boolean pred) | public long | getUniqueId() | public String | getUniqueIdString() | public String | htmlString() | boolean | isCircular() | public boolean | isCrossProject() | public boolean | isDefault() | public boolean | isDirty() | final public boolean | isDisabled() | public boolean | isExternal() | boolean | isLinkToChild() | boolean | isLinkToParent() | public boolean | isNew() | public boolean | refersToDocument(Document document) | public void | replace(Object newOne, boolean leftObject) | public void | setDate(boolean early, long date) | public void | setDependencyType(int dependencyType) | public void | setDirty(boolean dirty) | final public void | setDisabled(boolean disabled) | public void | setLag(long lead) | public void | setName(String name) | public void | setNew(boolean newId) | public void | setPredecessor(HasDependencies predecessor) | public void | setSuccessor(HasDependencies successor) | public void | setUniqueId(long id) | public void | testValid(boolean allowDuplicate) | public String | toString() | public void | updateDependencyLists() |
NEEDS_CALCULATION | final public static long NEEDS_CALCULATION(Code) | | |
newId | transient boolean newId(Code) | | |
serialVersionUID | final static long serialVersionUID(Code) | | |
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. |
getEffectiveWorkCalendar | final public WorkCalendar getEffectiveWorkCalendar()(Code) | | Returns the calendar. |
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 |
getPredecessorId | public long getPredecessorId()(Code) | | |
getQualifiedPredecessorName | public String getQualifiedPredecessorName()(Code) | | |
getQualifiedSuccessorName | public String getQualifiedSuccessorName()(Code) | | |
getSuccessorId | public long getSuccessorId()(Code) | | |
getUniqueId | public long getUniqueId()(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) | | |
setDirty | public void setDirty(boolean dirty)(Code) | | |
setDisabled | final public void setDisabled(boolean disabled)(Code) | | |
setLag | public void setLag(long lead)(Code) | | |
setNew | public void setNew(boolean newId)(Code) | | |
setPredecessor | public void setPredecessor(HasDependencies predecessor)(Code) | | Parameters: predecessor - The predecessor to set. |
setUniqueId | public void setUniqueId(long id)(Code) | | |
updateDependencyLists | public void updateDependencyLists()(Code) | | |
|
|