Class TaskLink
- java.lang.Object
-
- com.aspose.tasks.TaskLink
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(TaskLink other)
Returns a value indicating whether this instance is equal to a specified object.boolean
equals(Object obj)
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 or percentage.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 theTaskLink
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 or percentage.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.
-
-
-
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:
equals
in interfacecom.aspose.ms.System.IEquatable<TaskLink>
- Overrides:
equals
in classObject
- Parameters:
obj
- The object to compare with this instance.- Returns:
- True if the specified object is a TaskLink that has the same predecessor and successor as this instance; otherwise, false.
-
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 or percentage.
- Returns:
- the amount of lag in tenths of a minute or percentage.
-
setLinkLag
public final void setLinkLag(int value)
Sets the amount of lag in tenths of a minute or percentage.
- Parameters:
value
- the amount of lag in tenths of a minute or percentage.
-
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
TaskLink
class.
-
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.
-
-