Class MilestoneInfo

  • All Implemented Interfaces:
    IServiceDataObject, java.io.Serializable

    public class MilestoneInfo
    extends TaskListItem
    implements java.io.Serializable
    MilestoneInfo is a light weight object that provides details about a milestone.
    Version:
    2013-08-26
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      MilestoneInfo()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Date getActualDate()
      Gets the current date for the start of the milestone.
      int getDuration()
      Gets the number of days to complete the milestone.
      int getNumActive()
      Gets the number of tasks that have a status of Active.
      int getNumCancelled()
      Gets the number of tasks that have a status of Cancelled.
      int getNumCompleted()
      Gets the number of tasks that have a status of Completed.
      int getNumInprocess()
      Gets the number of tasks that have a status of In Process.
      int getNumIssue()
      Gets the number of tasks that have a status of Issue.
      int getNumLate()
      Gets the number of tasks that have a status of Late.
      int getNumOnHold()
      Gets the number of tasks that have a status of On Hold.
      int getNumPending()
      Gets the number of tasks that have a status of Pending.
      int getNumTasks()
      Gets the number of tasks in the milestone.
      java.util.Date getOriginalTargetDate()
      Gets the original target date to complete the milestone
      double getPercentCancelled()
      Gets the percentage of tasks that have a status of Cancelled.
      double getPercentComplete()
      Gets the percentage of tasks that have a status of Complete.
      double getPercentInprocess()
      Gets the percentage of tasks that have a status of In Process.
      double getPercentIssue()
      Gets the percentage of tasks that have a status of Issue.
      double getPercentLate()
      Gets the percentage of tasks that have a status of Late.
      double getPercentOnHold()
      Gets the percentage of tasks that have a status of On Hold.
      double getPercentPending()
      Gets the percentage of tasks that have a status of Pending.
      int getResources()
      Gets the number of members working on the milestone.
      java.util.Date getTargetDate()
      Gets the current target date to complete the milestone.
      void load​(com.opentext.api.LLValue value)
      Deserialize an ServiceDataObject from an LLValue that is received from Livelink.
      void setActualDate​(java.util.Date value)
      Sets the current date for the start of the milestone.
      void setDuration​(int value)
      Sets the number of days to complete the milestone.
      void setNumActive​(int value)
      Sets the number of tasks that have a status of Active.
      void setNumCancelled​(int value)
      Sets the number of tasks that have a status of Cancelled.
      void setNumCompleted​(int value)
      Sets the number of tasks that have a status of Completed.
      void setNumInprocess​(int value)
      Sets the number of tasks that have a status of In Process.
      void setNumIssue​(int value)
      Sets the number of tasks that have a status of Issue.
      void setNumLate​(int value)
      Sets the number of tasks that have a status of Late.
      void setNumOnHold​(int value)
      Sets the number of tasks that have a status of On Hold.
      void setNumPending​(int value)
      Sets the number of tasks that have a status of Pending.
      void setNumTasks​(int value)
      Sets the number of tasks in the milestone.
      void setOriginalTargetDate​(java.util.Date value)
      Sets the original target date to complete the milestone
      void setPercentCancelled​(double value)
      Sets the percentage of tasks that have a status of Cancelled.
      void setPercentComplete​(double value)
      Sets the percentage of tasks that have a status of Complete.
      void setPercentInprocess​(double value)
      Sets the percentage of tasks that have a status of In Process.
      void setPercentIssue​(double value)
      Sets the percentage of tasks that have a status of Issue.
      void setPercentLate​(double value)
      Sets the percentage of tasks that have a status of Late.
      void setPercentOnHold​(double value)
      Sets the percentage of tasks that have a status of On Hold.
      void setPercentPending​(double value)
      Sets the percentage of tasks that have a status of Pending.
      void setResources​(int value)
      Sets the number of members working on the milestone.
      void setTargetDate​(java.util.Date value)
      Sets the current target date to complete the milestone.
      com.opentext.api.LLValue toLLValue()
      Serialize an SDO object to an LLValue that can be sent to Livelink.
      java.lang.String toString()
      Returns a string representation of the object consisting of the object name and any features and their values within square brackets.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MilestoneInfo

        public MilestoneInfo()
    • Method Detail

      • setActualDate

        public void setActualDate​(java.util.Date value)
        Sets the current date for the start of the milestone.
      • getActualDate

        public java.util.Date getActualDate()
        Gets the current date for the start of the milestone.
      • setDuration

        public void setDuration​(int value)
        Sets the number of days to complete the milestone.
      • getDuration

        public int getDuration()
        Gets the number of days to complete the milestone.
      • setNumActive

        public void setNumActive​(int value)
        Sets the number of tasks that have a status of Active.
      • getNumActive

        public int getNumActive()
        Gets the number of tasks that have a status of Active.
      • setNumCancelled

        public void setNumCancelled​(int value)
        Sets the number of tasks that have a status of Cancelled.
      • getNumCancelled

        public int getNumCancelled()
        Gets the number of tasks that have a status of Cancelled.
      • setNumCompleted

        public void setNumCompleted​(int value)
        Sets the number of tasks that have a status of Completed.
      • getNumCompleted

        public int getNumCompleted()
        Gets the number of tasks that have a status of Completed.
      • setNumInprocess

        public void setNumInprocess​(int value)
        Sets the number of tasks that have a status of In Process.
      • getNumInprocess

        public int getNumInprocess()
        Gets the number of tasks that have a status of In Process.
      • setNumIssue

        public void setNumIssue​(int value)
        Sets the number of tasks that have a status of Issue.
      • getNumIssue

        public int getNumIssue()
        Gets the number of tasks that have a status of Issue.
      • setNumLate

        public void setNumLate​(int value)
        Sets the number of tasks that have a status of Late.
      • getNumLate

        public int getNumLate()
        Gets the number of tasks that have a status of Late.
      • setNumOnHold

        public void setNumOnHold​(int value)
        Sets the number of tasks that have a status of On Hold.
      • getNumOnHold

        public int getNumOnHold()
        Gets the number of tasks that have a status of On Hold.
      • setNumPending

        public void setNumPending​(int value)
        Sets the number of tasks that have a status of Pending.
      • getNumPending

        public int getNumPending()
        Gets the number of tasks that have a status of Pending.
      • setNumTasks

        public void setNumTasks​(int value)
        Sets the number of tasks in the milestone.
      • getNumTasks

        public int getNumTasks()
        Gets the number of tasks in the milestone.
      • setOriginalTargetDate

        public void setOriginalTargetDate​(java.util.Date value)
        Sets the original target date to complete the milestone
      • getOriginalTargetDate

        public java.util.Date getOriginalTargetDate()
        Gets the original target date to complete the milestone
      • setPercentCancelled

        public void setPercentCancelled​(double value)
        Sets the percentage of tasks that have a status of Cancelled.
      • getPercentCancelled

        public double getPercentCancelled()
        Gets the percentage of tasks that have a status of Cancelled.
      • setPercentComplete

        public void setPercentComplete​(double value)
        Sets the percentage of tasks that have a status of Complete.
      • getPercentComplete

        public double getPercentComplete()
        Gets the percentage of tasks that have a status of Complete.
      • setPercentInprocess

        public void setPercentInprocess​(double value)
        Sets the percentage of tasks that have a status of In Process.
      • getPercentInprocess

        public double getPercentInprocess()
        Gets the percentage of tasks that have a status of In Process.
      • setPercentIssue

        public void setPercentIssue​(double value)
        Sets the percentage of tasks that have a status of Issue.
      • getPercentIssue

        public double getPercentIssue()
        Gets the percentage of tasks that have a status of Issue.
      • setPercentLate

        public void setPercentLate​(double value)
        Sets the percentage of tasks that have a status of Late.
      • getPercentLate

        public double getPercentLate()
        Gets the percentage of tasks that have a status of Late.
      • setPercentOnHold

        public void setPercentOnHold​(double value)
        Sets the percentage of tasks that have a status of On Hold.
      • getPercentOnHold

        public double getPercentOnHold()
        Gets the percentage of tasks that have a status of On Hold.
      • setPercentPending

        public void setPercentPending​(double value)
        Sets the percentage of tasks that have a status of Pending.
      • getPercentPending

        public double getPercentPending()
        Gets the percentage of tasks that have a status of Pending.
      • setResources

        public void setResources​(int value)
        Sets the number of members working on the milestone.
      • getResources

        public int getResources()
        Gets the number of members working on the milestone.
      • setTargetDate

        public void setTargetDate​(java.util.Date value)
        Sets the current target date to complete the milestone.
      • getTargetDate

        public java.util.Date getTargetDate()
        Gets the current target date to complete the milestone.
      • load

        public void load​(com.opentext.api.LLValue value)
        Description copied from interface: IServiceDataObject
        Deserialize an ServiceDataObject from an LLValue that is received from Livelink. The LLValue is an Assoc that contains all of the features of this SDO. These features may refer to other SDOs and contain arrays of primitive values or SDOs. Each referenced SDO, will have its load() method called as well. Note: this is an internal method not meant to be called by clients.
        Specified by:
        load in interface IServiceDataObject
        Overrides:
        load in class TaskListItem
        Parameters:
        value - the LLValue containing the data to be loaded
      • toLLValue

        public com.opentext.api.LLValue toLLValue()
        Description copied from interface: IServiceDataObject
        Serialize an SDO object to an LLValue that can be sent to Livelink. Each feature of the SDO is stored in a key of the LLValue Assoc. Any references to other SDOs cause their toLLValue() method to be called. Note: this is an internal method not meant to be called by clients.
        Specified by:
        toLLValue in interface IServiceDataObject
        Overrides:
        toLLValue in class TaskListItem
        Returns:
        Returns the LLValue object that represents this SDO
      • toString

        public java.lang.String toString()
        Description copied from class: ServiceDataObject
        Returns a string representation of the object consisting of the object name and any features and their values within square brackets. Intended for simple debugging or logging of an SDO.
        Overrides:
        toString in class TaskListItem