|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.prozima.pengine.Relationship
public class Relationship
Represents a relationship between two nodes in a schedule. When a relationship exists between two nodes, it means that the start or finish of one node depends on the start or finish of another node. Nodes may have relationships with multiple other nodes. It is also possible for a node to have more than one relationship with another node, with some restrictions.
| Nested Class Summary | |
|---|---|
static class |
Relationship.RelationshipType
Defines the type of relationshipType which a schedule node can have with other nodes. |
| Constructor Summary | |
|---|---|
Relationship(Relationship.RelationshipType inRelType,
ScheduleNode.PredecessorType inPredType,
java.lang.Integer inPredID)
Create a Relationship and initialise its state. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
Two Relationships are equal if the type is the same and the predecessors are the same. |
java.lang.Integer |
getPredecessorID()
Query the ID of the predecessor node. |
ScheduleNode.PredecessorType |
getPredecessorType()
Query whether the predecessor node is an activity or a milestone. |
Relationship.RelationshipType |
getType()
Query the type of relationship a schedule node has with a predecessor node. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Relationship(Relationship.RelationshipType inRelType,
ScheduleNode.PredecessorType inPredType,
java.lang.Integer inPredID)
inRelType - Type of relationship with predecessor node. Cannot be null.inPredType - Type of the predecessor node. Cannot be null.inPredID - ID of the predecessor node. Cannot be null.| Method Detail |
|---|
public boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public java.lang.Integer getPredecessorID()
public ScheduleNode.PredecessorType getPredecessorType()
public Relationship.RelationshipType getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||