com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class TaskBaseline

  • All Implemented Interfaces:
    Comparable


    public class TaskBaseline
    extends Baseline

    Represents Baseline of a Task.

    • Method Detail

      • getDuration

        public Duration getDuration()

        Returns the scheduled duration of the task when the baseline was saved.

        Returns:
        returns the scheduled duration of the task when this baseline was saved.
      • setDuration

        public void setDuration(Duration value)
        Sets the scheduled duration of the task when the baseline was saved.
        Parameters:
        value - the scheduled duration of the task when this baseline was saved.
      • getDurationFormat

        public int getDurationFormat()

        The format for expressing the duration of the task baseline.

        Returns:
        the duration format (TimeUnitType).
      • setDurationFormat

        public void setDurationFormat(int value)
        Sets the duration format.
        Parameters:
        value - the duration format (TimeUnitType).
      • getEstimatedDuration

        public boolean getEstimatedDuration()

        Whether the baseline duration of the task was estimated.

        Returns:
        true if the baseline duration is estimated, false otherwise.
      • setEstimatedDuration

        public void setEstimatedDuration(boolean value)
        Whether the baseline duration of the task was estimated.
        Parameters:
        value - true if the baseline duration is estimated, false otherwise.
      • getFinish

        public Date getFinish()
        Returns the scheduled finish date of the task when the baseline was saved.
        Returns:
        the scheduled finish date of the task.
      • setFinish

        public void setFinish(Date value)
        Sets the scheduled finish date of the task when the baseline was saved.
        Parameters:
        value - scheduled finish date of the task.
      • getFixedCost

        public double getFixedCost()

        The fixed cost of the task when the baseline was saved.

        Returns:
        the fixed cost of the task.
      • setFixedCost

        public void setFixedCost(double value)
        The fixed cost of the task when the baseline was saved.
        Parameters:
        value - the fixed cost of the task.
      • getInterim

        public boolean getInterim()

        Determines whether the baseline is an Interim Baseline.

        Returns:
        true if the baseline is an interim, false otherwise.
      • setInterim

        public void setInterim(boolean value)
        Determines whether this is an Interim Baseline.
        Parameters:
        value - boolean value.
      • getStart

        public Date getStart()
        The scheduled start date of the task when the baseline was saved.
        Returns:
        The scheduled start date of the task.
      • setStart

        public void setStart(Date value)
        The scheduled start date of the task when the baseline was saved.
        Parameters:
        value - The scheduled start date of the task.
      • getTimephasedData

        public TimephasedDataCollection getTimephasedData()

        Returns TimephasedDataCollection instance for this object. The time phased data associated with the task baseline.

        Returns:
        returns a collection of TimephasedData values for this object.
      • setTimephasedData

        public void setTimephasedData(TimephasedDataCollection value)
        Sets a collection of TimephasedData values for this baseline.
        Parameters:
        value - a collection of TimephasedData values for this object.
      • equals

        public boolean equals(Object obj)
        Returns a value indicating whether this instance is equal to a specified object.
        Overrides:
        equals in class Baseline
        Parameters:
        obj - The object to compare with this instance.
        Returns:
        <b>True</b> if obj is the same TaskBaseline.
      • hashCode

        public int hashCode()
        Returns a hash code for this TaskBaseline.
        Overrides:
        hashCode in class Baseline
        Returns:
        Returns a hash code value for this object.