com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Baseline

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int compareTo(Baseline obj)
      Returns a value indicating whether this instance is greater or less than a specified object.
      boolean equals(Object obj)
      Returns a value indicating whether this instance is equal to a specified object.
      int getBaselineNumber()
      Gets the unique number of a baseline data record.
      double getBcwp()
      Gets the budgeted cost of a work performed by a resource for a project to-date.
      double getBcws()
      Gets the budget cost of a work scheduled for a resource.
      BigDecimal getCost()
      Gets the projected cost of a resource when the baseline is saved.
      Duration getWork()
      Gets the work assigned to a resource when the baseline is saved.
      int hashCode()
      Returns a hash code for this Baseline object.
      void setBaselineNumber(int value)
      Sets the unique number of a baseline data record.
      void setBcwp(double value)
      Sets the budgeted cost of a work performed by a resource for a project to-date.
      void setBcws(double value)
      Sets the budget cost of a work scheduled for a resource.
      void setCost(BigDecimal value)
      Sets the projected cost of a resource when the baseline is saved.
      void setWork(Duration value)
      Sets the work assigned to a resource when the baseline is saved.
    • Method Detail

      • compareTo

        public final int compareTo(Baseline obj)
        Returns a value indicating whether this instance is greater or less than a specified object.
        Specified by:
        compareTo in interface Comparable<Baseline>
        Parameters:
        obj - The object to compare with this instance.
        Returns:
        returns 1 if obj is a Baseline that has lesser baseline number; returns 0 if obj is a Baseline that has the same baseline number; -1 otherwise.
      • getBaselineNumber

        public final int getBaselineNumber()

        Gets the unique number of a baseline data record. Read/write BaselineType.

        Returns:
        the unique number of a baseline data record.
      • setBaselineNumber

        public final void setBaselineNumber(int value)

        Sets the unique number of a baseline data record. Read/write BaselineType.

        Parameters:
        value - the unique number of a baseline data record.
      • getBcwp

        public final double getBcwp()

        Gets the budgeted cost of a work performed by a resource for a project to-date. Read/write double.

        Returns:
        the budgeted cost of a work performed by a resource for a project to-date.
      • setBcwp

        public final void setBcwp(double value)

        Sets the budgeted cost of a work performed by a resource for a project to-date. Read/write double.

        Parameters:
        value - the budgeted cost of a work performed by a resource for a project to-date.
      • getBcws

        public final double getBcws()

        Gets the budget cost of a work scheduled for a resource. Read/write double.

        Returns:
        the budget cost of a work scheduled for a resource.
      • setBcws

        public final void setBcws(double value)

        Sets the budget cost of a work scheduled for a resource. Read/write double.

        Parameters:
        value - the budget cost of a work scheduled for a resource.
      • getCost

        public final BigDecimal getCost()

        Gets the projected cost of a resource when the baseline is saved. Read/write decimal.

        Returns:
        the projected cost of a resource when the baseline is saved.
      • setCost

        public final void setCost(BigDecimal value)

        Sets the projected cost of a resource when the baseline is saved. Read/write BigDecimal.

        Parameters:
        value - the projected cost of a resource when the baseline is saved.
      • getWork

        public final Duration getWork()

        Gets the work assigned to a resource when the baseline is saved. Read/write Duration.

        Value: The amount of assigned work to a resource when the baseline was saved.
        Returns:
        the work assigned to a resource when the baseline is saved.
      • setWork

        public final void setWork(Duration value)

        Sets the work assigned to a resource when the baseline is saved. Read/write Duration.

        Value: The amount of assigned work to a resource when the baseline was saved.
        Parameters:
        value - the work assigned to a resource when the baseline is saved.
      • equals

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

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