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.

    • Constructor Detail

      • Rate

        public Rate()
    • Method Detail

      • getRatesFrom

        public Date getRatesFrom()

        Returns the date when a rate becomes effective. Read/write Date.

        Returns:
        from date.
      • setRatesFrom

        public void setRatesFrom(Date value)

        Sets the date when a rate becomes effective. Read/write Date.

        Parameters:
        value - from date.
      • getRatesTo

        public Date getRatesTo()

        Returns the last date when a rate is effective. Read/write Date.

        Returns:
        to date.
      • setRatesTo

        public void setRatesTo(Date value)

        Sets the last date when a rate is effective. Read/write Date.

        Parameters:
        value - to date.
      • getRateTable

        public int getRateTable()

        Returns the unique identifier of a rate table for a resource. Read/write RateType.

        Returns:
        rate table type.
      • setRateTable

        public void setRateTable(int value)

        Sets the unique identifier of a rate table for a resource. Read/write RateType.

        Parameters:
        value - rate table type.
      • getStandardRate

        public BigDecimal getStandardRate()

        Returns the standard rate for a resource for the specified period. Read/write BigDecimal.

        Returns:
        standard rate.
      • setStandardRate

        public void setStandardRate(BigDecimal value)

        Sets the standard rate for a resource for the specified period. Read/write BigDecimal.

        Parameters:
        value - standard rate.
      • getStandardRateFormat

        public int getStandardRateFormat()

        Returns the units used by Microsoft Project to display the standard rate. Read/write RateFormatType.

        Returns:
        standard rate format.
      • setStandardRateFormat

        public void setStandardRateFormat(int value)

        Sets the units used by Microsoft Project to display the standard rate. Read/write RateFormatType.

        Parameters:
        value - standard rate format.
      • getOvertimeRate

        public BigDecimal getOvertimeRate()

        Returns the overtime rate for a resource for the specified period. Read/write BigDecimal.

        Returns:
        overtime rate.
      • setOvertimeRate

        public void setOvertimeRate(BigDecimal value)

        Sets the overtime rate for a resource for the specified period. Read/write BigDecimal.

        Parameters:
        value - overtime rate.
      • getOvertimeRateFormat

        public int getOvertimeRateFormat()

        Returns the units used by Microsoft Project to display the overtime rate. Read/write RateFormatType.

        Returns:
        overtime rate format.
      • setOvertimeRateFormat

        public void setOvertimeRateFormat(int value)

        Sets the units used by Microsoft Project to display the overtime rate. Read/write RateFormatType.

        Parameters:
        value - overtime rate format.
      • getCostPerUse

        public BigDecimal getCostPerUse()

        Returns the cost per use of a resource. This value retrieved from the current date if a rate table exists for a resource. Read/write BigDecimal.

        Returns:
        cost per use.
      • setCostPerUse

        public 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. Read/write BigDecimal.

        Parameters:
        value - cost per use.