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 a specified object.
|
String |
getCrossProjectName()
Gets the external predecessor project.
|
int |
getLagFormat()
Gets the format for expressing the lag format.
|
int |
getLinkLag()
Gets the amount of lag in tenths of a minute.
|
int |
getLinkType()
Gets the type of a link.
|
Task |
getPredTask()
Gets the predecessor task.
|
Task |
getSuccTask()
Gets the successor task.
|
int |
hashCode()
Returns a hash code value for the instance of the
TaskLink class. |
boolean |
isCrossProject()
Gets a value indicating whether a predecessor is part of another project.
|
void |
setCrossProject(boolean value)
Sets a value indicating whether a predecessor is part of another project.
|
void |
setCrossProjectName(String value)
Sets the external predecessor project.
|
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 a 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 final boolean equals(TaskLink other)
Returns a value indicating whether this instance is equal to a specified object.
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
equals
in interface com.aspose.ms.System.IEquatable<TaskLink>
equals
in class Object
obj
- The object to compare with this instance.<b>True</b>
if the specified object is a TaskLink that has the same predecessor and successor
as this instance; otherwise, <b>false</b>
.public final String getCrossProjectName()
Gets the external predecessor project.
public final void setCrossProjectName(String value)
Sets the external predecessor project.
value
- the external predecessor project.public final int getLagFormat()
Gets the format for expressing the lag format.
public final void setLagFormat(int value)
Sets the format for expressing the lag format.
value
- the format for expressing the lag format.public final int getLinkLag()
Gets the amount of lag in tenths of a minute.
public final void setLinkLag(int value)
Sets the amount of lag in tenths of a minute.
value
- the amount of lag in tenths of a minute.public final int getLinkType()
Gets the type of a link.
public final void setLinkType(int value)
Sets the type of a link.
value
- the type of a link.public final Task getPredTask()
Gets the predecessor task.
public final void setPredTask(Task value)
Sets the predecessor task.
value
- the predecessor task.public final Task getSuccTask()
Gets the successor task.
public final void setSuccTask(Task value)
Sets the successor task.
value
- the successor task.public int hashCode()
Returns a hash code value for the instance of the TaskLink
class.
public final boolean isCrossProject()
Gets a value indicating whether a predecessor is part of another project.
public final void setCrossProject(boolean value)
Sets a value indicating whether a predecessor is part of another project.
value
- a value indicating whether a predecessor is part of another project.