com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Baseline

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int compareTo(Baseline other)
      IComparable interface implementation.
      boolean equals(Baseline other)
      Returns a value indicating whether this instance is equal to 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 value for the baseline.
      static boolean op_Equality(Baseline a, Baseline b)
      Returns a value indicating whether this instance is equal to a specified object.
      static boolean op_GreaterThan(Baseline a, Baseline b)
      Returns a value indicating whether this instance is greater than a specified object.
      static boolean op_GreaterThanOrEqual(Baseline a, Baseline b)
      Returns a value indicating whether this instance is greater than or equal to a specified object.
      static boolean op_Inequality(Baseline a, Baseline b)
      Returns a value indicating whether this instance is not equal to a specified object.
      static boolean op_LessThan(Baseline a, Baseline b)
      Returns a value indicating whether this instance is less than a specified object.
      static boolean op_LessThanOrEqual(Baseline a, Baseline b)
      Returns a value indicating whether this instance is less than or equal to a specified 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 other)

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

        Specified by:
        compareTo in interface Comparable<Baseline>
        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 final boolean equals(Baseline other)

        Returns a value indicating whether this instance is equal to a specified object.

        Parameters:
        other - the specified object to compare with this instance.
        Returns:
        returns true if this instance is equal to the specified object; otherwise, false.
      • equals

        public boolean equals(Object obj)

        Returns a value indicating whether this instance is equal to a specified object.

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<Baseline>
        Overrides:
        equals in class Object
        Parameters:
        obj - the specified object to compare with this instance.
        Returns:
        returns true if this instance is equal to the specified object; otherwise, false.
      • 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.
      • hashCode

        public int hashCode()

        Returns a hash code value for the baseline.

        Overrides:
        hashCode in class Object
        Returns:
        returns a hash code value for this object.
      • op_Equality

        public static boolean op_Equality(Baseline a,
                                          Baseline b)

        Returns a value indicating whether this instance is equal to a specified object.

        Parameters:
        a - The first baseline.
        b - The second baseline.
        Returns:
        a value indicating whether this instance is equal to a specified object
      • op_GreaterThan

        public static boolean op_GreaterThan(Baseline a,
                                             Baseline b)

        Returns a value indicating whether this instance is greater than a specified object.

        Parameters:
        a - The first baseline.
        b - The second baseline.
        Returns:
        a value indicating whether this instance is greater than a specified object
      • op_GreaterThanOrEqual

        public static boolean op_GreaterThanOrEqual(Baseline a,
                                                    Baseline b)

        Returns a value indicating whether this instance is greater than or equal to a specified object.

        Parameters:
        a - The first baseline.
        b - The second baseline.
        Returns:
        a value indicating whether this instance is greater than or equal to a specified object
      • op_Inequality

        public static boolean op_Inequality(Baseline a,
                                            Baseline b)

        Returns a value indicating whether this instance is not equal to a specified object.

        Parameters:
        a - The first baseline.
        b - The second baseline.
        Returns:
        a value indicating whether this instance is not equal to a specified object
      • op_LessThan

        public static boolean op_LessThan(Baseline a,
                                          Baseline b)

        Returns a value indicating whether this instance is less than a specified object.

        Parameters:
        a - The first baseline.
        b - The second baseline.
        Returns:
        a value indicating whether this instance is less than a specified object
      • op_LessThanOrEqual

        public static boolean op_LessThanOrEqual(Baseline a,
                                                 Baseline b)

        Returns a value indicating whether this instance is less than or equal to a specified object.

        Parameters:
        a - The first baseline.
        b - The second baseline.
        Returns:
        a value indicating whether this instance is less than or equal to a specified object