public final class ExternalRelation extends Object
Constructor and Description |
---|
ExternalRelation(Integer uniqueID,
Integer sourceUniqueID,
Task targetTask,
RelationType type,
Duration lag,
boolean predecessor,
String notes)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
Integer |
externalTaskUniqueID()
Retrieve the source task of this relationship.
|
Duration |
getLag()
This method retrieves the lag duration associated
with this relationship.
|
String |
getNotes()
Retrieve notes relating to this external relationship.
|
boolean |
getPredecessor()
Indication relation type.
|
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.
|
String |
toString() |
public ExternalRelation(Integer uniqueID, Integer sourceUniqueID, Task targetTask, RelationType type, Duration lag, boolean predecessor, String notes)
uniqueID
- external relation unique IDsourceUniqueID
- source task unique IDtargetTask
- target task instancetype
- relation typelag
- relation lagpredecessor
- true if this is a predecessor of the current tasknotes
- comments on this relationshippublic RelationType getType()
public Duration getLag()
public Integer externalTaskUniqueID()
public Task getTargetTask()
public Integer getUniqueID()
public boolean getPredecessor()
public String getNotes()
Copyright © 2000–2024 Packwood Software. All rights reserved.