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(Object 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()
      Returns the unique number of a baseline data record.
      double getBcwp()
      Returns the budgeted cost of a work performed by a resource for a project to-date.
      double getBcws()
      Returns the budget cost of a work scheduled for a resource.
      BigDecimal getCost()
      Returns the projected cost of a resource when the baseline is saved.
      Duration getWork()
      Returns 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.
    • Method Detail

      • getBaselineNumber

        public int getBaselineNumber()

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

        Returns:
        baseline number.
      • setBaselineNumber

        public void setBaselineNumber(int value)

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

        Parameters:
        value - baseline number.
      • getBcwp

        public double getBcwp()

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

        Returns:
        baseline BCWP.
      • setBcwp

        public 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 - baseline BCWP.
      • getBcws

        public double getBcws()

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

        Returns:
        baseline BCWS.
      • setBcws

        public void setBcws(double value)
        Sets the budget cost of a work scheduled for a resource.
        Parameters:
        value - baseline BCWS.
      • getCost

        public BigDecimal getCost()

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

        Returns:
        baseline cost.
      • setCost

        public void setCost(BigDecimal value)

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

        Parameters:
        value - baseline cost.
      • getWork

        public Duration getWork()

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

        Returns:
        the work assigned to a resource when the baseline is saved.
      • setWork

        public void setWork(Duration value)
        Sets the work assigned to a resource.
        Parameters:
        value - the work assigned to a resource.
      • compareTo

        public int compareTo(Object obj)
        Returns a value indicating whether this instance is greater or less than a specified object.
        Specified by:
        compareTo in interface Comparable
        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.
      • 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.