com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class TaskBaseline

    • Method Detail

      • compareTo

        public final int compareTo(TaskBaseline other)

        IComparable interface implementation. Compares this instance to the specified Baseline object.

        Parameters:
        other - the specified Baseline object to compare this instance to.
        Returns:
        returns -1 if this instance is less than the specified object, 1 if this instance is greater than the specified object; otherwise returns 0
      • 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 the specified object is a TaskBaseline that has the same Uid value as this instance; otherwise, <b>false</b>.
      • getDuration

        public final Duration getDuration()

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

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

        public final 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 the baseline was saved.
      • getDurationFormat

        public final int getDurationFormat()

        Gets the format for expressing the duration of the task baseline.

        Returns:
        the format for expressing the duration of the task baseline.
      • setDurationFormat

        public final void setDurationFormat(int value)

        Sets the format for expressing the duration of the task baseline.

        Parameters:
        value - the format for expressing the duration of the task baseline.
      • getEstimatedDuration

        public final boolean getEstimatedDuration()

        Gets a value indicating whether the baseline duration of the task was estimated.

        Returns:
        a value indicating whether the baseline duration of the task was estimated.
      • setEstimatedDuration

        public final void setEstimatedDuration(boolean value)

        Sets a value indicating whether the baseline duration of the task was estimated.

        Parameters:
        value - a value indicating whether the baseline duration of the task was estimated.
      • getFinish

        public final Date getFinish()

        Gets the scheduled finish date of the task when the baseline was saved.

        Returns:
        the scheduled finish date of the task when the baseline was saved.
      • setFinish

        public final void setFinish(Date value)

        Sets the scheduled finish date of the task when the baseline was saved.

        Parameters:
        value - the scheduled finish date of the task when the baseline was saved.
      • getFixedCost

        public final double getFixedCost()

        Gets a fixed cost of the task when the baseline was saved.

        Returns:
        a fixed cost of the task when the baseline was saved.
      • setFixedCost

        public final void setFixedCost(double value)

        Sets a fixed cost of the task when the baseline was saved.

        Parameters:
        value - a fixed cost of the task when the baseline was saved.
      • getInterim

        public final boolean getInterim()

        Gets a value indicating whether this is an Interim Baseline.

        Returns:
        a value indicating whether this is an Interim Baseline.
      • setInterim

        public final void setInterim(boolean value)

        Sets a value indicating whether this is an Interim Baseline.

        Parameters:
        value - a value indicating whether this is an Interim Baseline.
      • getStart

        public final Date getStart()

        Gets the scheduled start date of the task when the baseline was saved.

        Returns:
        the scheduled start date of the task when the baseline was saved.
      • setStart

        public final void setStart(Date value)

        Sets the scheduled start date of the task when the baseline was saved.

        Parameters:
        value - the scheduled start date of the task when the baseline was saved.
      • getTimephasedData

        public final TimephasedDataCollection getTimephasedData()

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

        Returns:
        a TimephasedDataCollection instance for this object.
      • setTimephasedData

        public final void setTimephasedData(TimephasedDataCollection value)

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

        Parameters:
        value - a TimephasedDataCollection instance for this object.
      • hashCode

        public int hashCode()

        Returns a hash code value for the instance of the TaskBaseline class.

        Overrides:
        hashCode in class Baseline
        Returns:
        returns a hash code value for this object.