public final class Relation extends Object implements ProjectEntityWithMutableUniqueID
Modifier and Type | Class and Description |
---|---|
static class |
Relation.Builder
Relation builder.
|
Modifier and Type | Method and Description |
---|---|
Duration |
getLag()
This method retrieves the lag duration associated
with this relationship.
|
String |
getNotes()
Retrieve the notes association with this relationship.
|
Task |
getPredecessorTask()
Retrieve the predecessor task of this relationship.
|
Task |
getSourceTask()
Deprecated.
use getPredecessorTask() and getSuccessorTask()
|
Task |
getSuccessorTask()
Retrieve the successor task of this relationship.
|
Task |
getTargetTask()
Deprecated.
use getPredecessorTask() and getSuccessorTask()
|
RelationType |
getType()
Method used to retrieve the type of relationship being
represented.
|
Integer |
getUniqueID()
Retrieve the Unique ID of this Relation.
|
void |
setUniqueID(Integer uniqueID)
Set the Unique ID of this Relation.
|
String |
toString() |
public RelationType getType()
public Duration getLag()
@Deprecated public Task getSourceTask()
@Deprecated public Task getTargetTask()
public Task getPredecessorTask()
public Task getSuccessorTask()
public Integer getUniqueID()
getUniqueID
in interface ProjectEntityWithUniqueID
public void setUniqueID(Integer uniqueID)
setUniqueID
in interface ProjectEntityWithMutableUniqueID
uniqueID
- unique IDpublic String getNotes()
Copyright © 2000–2024 Packwood Software. All rights reserved.