com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class Rate



  • public class Rate
    extends Object

    Represents a definition of a time period and rates applicable for a resource during that period.

    • Method Detail

      • getCostPerUse

        public final BigDecimal getCostPerUse()

        Gets the cost per use of a resource. This value retrieved from the current date if a rate table exists for a resource.

        Returns:
        the cost per use of a resource.
      • setCostPerUse

        public final void setCostPerUse(BigDecimal value)

        Sets the cost per use of a resource. This value retrieved from the current date if a rate table exists for a resource.

        Parameters:
        value - the cost per use of a resource.
      • getOvertimeRate

        public final BigDecimal getOvertimeRate()

        Gets the overtime rate for a resource for the specified period.

        Returns:
        the overtime rate for a resource for the specified period.
      • setOvertimeRate

        public final void setOvertimeRate(BigDecimal value)

        Sets the overtime rate for a resource for the specified period.

        Parameters:
        value - the overtime rate for a resource for the specified period.
      • getOvertimeRateFormat

        public final int getOvertimeRateFormat()

        Gets the units used by Microsoft Project to display the overtime rate.

        Returns:
        the units used by Microsoft Project to display the overtime rate.
      • setOvertimeRateFormat

        public final void setOvertimeRateFormat(int value)

        Sets the units used by Microsoft Project to display the overtime rate.

        Parameters:
        value - the units used by Microsoft Project to display the overtime rate.
      • getRateTable

        public final int getRateTable()

        Gets the unique identifier of a rate table for a resource.

        Returns:
        the unique identifier of a rate table for a resource.
      • setRateTable

        public final void setRateTable(int value)

        Sets the unique identifier of a rate table for a resource.

        Parameters:
        value - the unique identifier of a rate table for a resource.
      • getRatesFrom

        public final Date getRatesFrom()

        Gets the date when a rate becomes effective.

        Returns:
        the date when a rate becomes effective.
      • setRatesFrom

        public final void setRatesFrom(Date value)

        Sets the date when a rate becomes effective.

        Parameters:
        value - the date when a rate becomes effective.
      • getRatesTo

        public final Date getRatesTo()

        Gets the last date when a rate is effective.

        Returns:
        the last date when a rate is effective.
      • setRatesTo

        public final void setRatesTo(Date value)

        Sets the last date when a rate is effective.

        Parameters:
        value - the last date when a rate is effective.
      • getStandardRate

        public final BigDecimal getStandardRate()

        Gets the standard rate for a resource for the specified period.

        Returns:
        the standard rate for a resource for the specified period.
      • setStandardRate

        public final void setStandardRate(BigDecimal value)

        Sets the standard rate for a resource for the specified period.

        Parameters:
        value - the standard rate for a resource for the specified period.
      • getStandardRateFormat

        public final int getStandardRateFormat()

        Gets the units used by Microsoft Project to display the standard rate.

        Returns:
        the units used by Microsoft Project to display the standard rate.
      • setStandardRateFormat

        public final void setStandardRateFormat(int value)

        Sets the units used by Microsoft Project to display the standard rate.

        Parameters:
        value - the units used by Microsoft Project to display the standard rate.