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()

        Initializes a new instance of the Object class.

    • Method Detail

      • getCostPerUse

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

        Parameters:
        value - cost per use.
      • getOvertimeRate

        public final BigDecimal getOvertimeRate()

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

        Returns:
        overtime rate.
      • setOvertimeRate

        public final void setOvertimeRate(BigDecimal value)

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

        Parameters:
        value - overtime rate.
      • getOvertimeRateFormat

        public final int getOvertimeRateFormat()

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

        Returns:
        overtime rate format.
      • setOvertimeRateFormat

        public final void setOvertimeRateFormat(int value)

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

        Parameters:
        value - overtime rate format.
      • getRateTable

        public final int getRateTable()

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

        Returns:
        rate table type.
      • setRateTable

        public final void setRateTable(int value)

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

        Parameters:
        value - rate table type.
      • getRatesFrom

        public final Date getRatesFrom()

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

        Returns:
        from date.
      • setRatesFrom

        public final void setRatesFrom(Date value)

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

        Parameters:
        value - from date.
      • getRatesTo

        public final Date getRatesTo()

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

        Returns:
        to date.
      • setRatesTo

        public final void setRatesTo(Date value)

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

        Parameters:
        value - to date.
      • getStandardRate

        public final BigDecimal getStandardRate()

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

        Returns:
        standard rate.
      • setStandardRate

        public final void setStandardRate(BigDecimal value)

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

        Parameters:
        value - standard rate.
      • getStandardRateFormat

        public final int getStandardRateFormat()

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

        Returns:
        standard rate format.
      • setStandardRateFormat

        public final void setStandardRateFormat(int value)

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

        Parameters:
        value - standard rate format.