public class TaskLink extends Object
Represents a predecessor link.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
|
boolean |
equals(TaskLink other)
Returns a value indicating whether this instance is equal to the specified task link.
|
String |
getCrossProjectName()
The external predecessor project.
|
int |
getLagFormat()
The format for expressing the lag format.
|
int |
getLinkLag()
The amount of lag in tenths of a minute.
|
int |
getLinkType()
Returns the type of a link.
|
Task |
getPredTask()
The predecessor task.
|
Task |
getSuccTask()
The successor task.
|
int |
hashCode()
Returns a hash code for this TaskLink.
|
boolean |
isCrossProject()
Returns a flag which determines whether a predecessor is part of another project.
|
void |
setCrossProject(boolean value)
Sets a flag which determines whether a predecessor is part of another project.
|
void |
setCrossProjectName(String value)
Sets the external predecessor project name.
|
void |
setLagFormat(int value)
Sets the format for expressing the lag format.
|
void |
setLinkLag(int value)
Sets the amount of lag in tenths of a minute.
|
void |
setLinkType(int value)
Sets the type of this link.
|
void |
setPredTask(Task value)
Sets the predecessor task.
|
void |
setSuccTask(Task value)
Sets the successor task.
|
String |
toString()
Returns string representation of a TaskLink.
|
public boolean isCrossProject()
Returns a flag which determines whether a predecessor is part of another project.
Read/write bool
.
public void setCrossProject(boolean value)
value
- a flag which determines whether a predecessor is part of another project.public String getCrossProjectName()
The external predecessor project.
Read/write string
.
public void setCrossProjectName(String value)
value
- the external predecessor project name.public int getLinkLag()
The amount of lag in tenths of a minute.
Read/write int
.
public void setLinkLag(int value)
value
- the amount of lag.public int getLagFormat()
The format for expressing the lag format.
Read/write TimeUnitType
.
TimeUnitType
).public void setLagFormat(int value)
value
- the time unit type (TimeUnitType
).public Task getPredTask()
The predecessor task.
Read/write Task
.
Task
).public void setPredTask(Task value)
value
- the predecessor task (Task
).public Task getSuccTask()
The successor task.
Read/write Task
.
Task
).public void setSuccTask(Task value)
value
- the successor task (Task
).public int getLinkType()
Returns the type of a link.
Read/write TaskLinkType
.
public void setLinkType(int value)
TaskLinkType
values.value
- the type of the link.public int hashCode()
public boolean equals(TaskLink other)
Returns a value indicating whether this instance is equal to the specified task link.
other
- the specified TaskLink instance to compare with this object.<b>True</b>
if the specified link has the same predecessor and successor
as this instance; otherwise, <b>false</b>
.public String toString()
Returns string representation of a TaskLink. The exact details of the representation are unspecified and subject to change.
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.