com.prozima.pengine
Class Milestone

java.lang.Object
  extended by com.prozima.pengine.ScheduleNode
      extended by com.prozima.pengine.Milestone
All Implemented Interfaces:
java.lang.Cloneable

public class Milestone
extends ScheduleNode

Represents a milestone in a schedule. Milestones do not have any duration, effort or resources associated with them. They are used as markers in the schedule which can be related to other nodes in the schedule. Milestones can have relationships with other nodes and their dates can be constrained.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.prozima.pengine.ScheduleNode
ScheduleNode.PredecessorType, ScheduleNode.Scheduling
 
Constructor Summary
Milestone()
          Create a new Milestone which represents a milestone in a schedule.
Milestone(java.lang.Integer inProjectID, java.lang.Integer inScheduleID, java.lang.Integer inMilestoneID)
          Create an Milestone which represents the state of a Milestone.
Milestone(java.lang.Integer inProjectID, java.lang.Integer inScheduleID, java.lang.Integer inMilestoneID, java.lang.Integer inAncestorID)
          Create an MilestoneInfo object which represents the state of an Milestone.
 
Method Summary
 Milestone clone()
           
 
Methods inherited from class com.prozima.pengine.ScheduleNode
addRelationship, getAncestorID, getConstraint, getCumulativeEffort, getCumulativeEffortWorked, getID, getName, getProjectID, getRelationships, getScheduleID, getSchedulingPref, removeRelationship, setAncestorID, setConstraint, setID, setName, setProjectID, setScheduleID, setSchedulingPref, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Milestone

public Milestone()
Create a new Milestone which represents a milestone in a schedule. No IDs are set which identify the milestone. The Milestone is assumed to have no ancestor Milestones.


Milestone

public Milestone(java.lang.Integer inProjectID,
                 java.lang.Integer inScheduleID,
                 java.lang.Integer inMilestoneID)
Create an Milestone which represents the state of a Milestone. No IDs are set which identify the Milestone. Milestone is assumed to have no ancestor Milestones.

Parameters:
inProjectID - ID of Project. Cannot be null.
inScheduleID - ID of Schedule. Cannot be null.
inMilestoneID - ID of Milestone. Cannot be null.

Milestone

public Milestone(java.lang.Integer inProjectID,
                 java.lang.Integer inScheduleID,
                 java.lang.Integer inMilestoneID,
                 java.lang.Integer inAncestorID)
Create an MilestoneInfo object which represents the state of an Milestone.

Parameters:
inProjectID - ID of Project. Cannot be null.
inScheduleID - ID of Schedule. Cannot be null.
inMilestoneID - ID of Milestone. Cannot be null.
inAncestorID - ID of Ancestor Activity. May be null if the Milestone has no ancestor.
Method Detail

clone

public Milestone clone()
                throws java.lang.CloneNotSupportedException
Overrides:
clone in class ScheduleNode
Throws:
java.lang.CloneNotSupportedException