public final class Relation extends Object implements ProjectEntityWithUniqueID
Modifier and Type | Class and Description |
---|---|
static class |
Relation.Builder
Relation builder.
|
Constructor and Description |
---|
Relation(Task sourceTask,
Task targetTask,
RelationType type,
Duration lag)
Deprecated.
use 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 |
getSourceTask()
Retrieve the source task of this relationship.
|
Task |
getTargetTask()
Retrieve the target task of this relationship.
|
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)
Deprecated.
use Relation.Builder
|
String |
toString() |
@Deprecated public Relation(Task sourceTask, Task targetTask, RelationType type, Duration lag)
sourceTask
- source task instancetargetTask
- target task instancetype
- relation typelag
- relation lagpublic RelationType getType()
public Duration getLag()
public Task getSourceTask()
public Task getTargetTask()
public Integer getUniqueID()
getUniqueID
in interface ProjectEntityWithUniqueID
@Deprecated public void setUniqueID(Integer uniqueID)
setUniqueID
in interface ProjectEntityWithUniqueID
uniqueID
- unique IDpublic String getNotes()
Copyright © 2000–2024 Packwood Software. All rights reserved.