Class TaskLink
- java.lang.Object
-
- com.aspose.tasks.TaskLink
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(TaskLink other)Returns a value indicating whether this instance is equal to a specified object.booleanequals(Object obj)Returns a value indicating whether this instance is equal to a specified object.StringgetCrossProjectName()Gets the external predecessor project.intgetLagFormat()Gets the format for expressing the lag format.intgetLinkLag()Gets the amount of lag in tenths of a minute.intgetLinkType()Gets the type of a link.TaskgetPredTask()Gets the predecessor task.TaskgetSuccTask()Gets the successor task.inthashCode()Returns a hash code value for the instance of theTaskLinkclass.booleanisCrossProject()Gets a value indicating whether a predecessor is part of another project.voidsetCrossProject(boolean value)Sets a value indicating whether a predecessor is part of another project.voidsetCrossProjectName(String value)Sets the external predecessor project.voidsetLagFormat(int value)Sets the format for expressing the lag format.voidsetLinkLag(int value)Sets the amount of lag in tenths of a minute.voidsetLinkType(int value)Sets the type of a link.voidsetPredTask(Task value)Sets the predecessor task.voidsetSuccTask(Task value)Sets the successor task.StringtoString()Returns string representation of a TaskLink.
-
-
-
Method Detail
-
equals
public final boolean equals(TaskLink other)
Returns a value indicating whether this instance is equal to a specified object.
-
equals
public boolean equals(Object obj)
Returns a value indicating whether this instance is equal to a specified object.
- Specified by:
equalsin interfacecom.aspose.ms.System.IEquatable<TaskLink>- Overrides:
equalsin classObject- Parameters:
obj- The object to compare with this instance.- Returns:
<b>True</b>if the specified object is a TaskLink that has the same predecessor and successor as this instance; otherwise,<b>false</b>.
-
getCrossProjectName
public final String getCrossProjectName()
Gets the external predecessor project.
- Returns:
- the external predecessor project.
-
setCrossProjectName
public final void setCrossProjectName(String value)
Sets the external predecessor project.
- Parameters:
value- the external predecessor project.
-
getLagFormat
public final int getLagFormat()
Gets the format for expressing the lag format.
- Returns:
- the format for expressing the lag format.
-
setLagFormat
public final void setLagFormat(int value)
Sets the format for expressing the lag format.
- Parameters:
value- the format for expressing the lag format.
-
getLinkLag
public final int getLinkLag()
Gets the amount of lag in tenths of a minute.
- Returns:
- the amount of lag in tenths of a minute.
-
setLinkLag
public final void setLinkLag(int value)
Sets the amount of lag in tenths of a minute.
- Parameters:
value- the amount of lag in tenths of a minute.
-
getLinkType
public final int getLinkType()
Gets the type of a link.
- Returns:
- the type of a link.
-
setLinkType
public final void setLinkType(int value)
Sets the type of a link.
- Parameters:
value- the type of a link.
-
getPredTask
public final Task getPredTask()
Gets the predecessor task.
- Returns:
- the predecessor task.
-
setPredTask
public final void setPredTask(Task value)
Sets the predecessor task.
- Parameters:
value- the predecessor task.
-
getSuccTask
public final Task getSuccTask()
Gets the successor task.
- Returns:
- the successor task.
-
setSuccTask
public final void setSuccTask(Task value)
Sets the successor task.
- Parameters:
value- the successor task.
-
hashCode
public int hashCode()
Returns a hash code value for the instance of the
TaskLinkclass.
-
isCrossProject
public final boolean isCrossProject()
Gets a value indicating whether a predecessor is part of another project.
- Returns:
- a value indicating whether a predecessor is part of another project.
-
setCrossProject
public final void setCrossProject(boolean value)
Sets a value indicating whether a predecessor is part of another project.
- Parameters:
value- a value indicating whether a predecessor is part of another project.
-
-