public class Rate extends Object
Represents a definition of a time period and rates applicable for a resource during that period.
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getCostPerUse()
Gets the cost per use of a resource.
|
BigDecimal |
getOvertimeRate()
Gets the overtime rate for a resource for the specified period.
|
int |
getOvertimeRateFormat()
Gets the units used by Microsoft Project to display the overtime rate.
|
Date |
getRatesFrom()
Gets the date when a rate becomes effective.
|
Date |
getRatesTo()
Gets the last date when a rate is effective.
|
int |
getRateTable()
Gets the unique identifier of a rate table for a resource.
|
BigDecimal |
getStandardRate()
Gets the standard rate for a resource for the specified period.
|
int |
getStandardRateFormat()
Gets the units used by Microsoft Project to display the standard rate.
|
void |
setCostPerUse(BigDecimal value)
Sets the cost per use of a resource.
|
void |
setOvertimeRate(BigDecimal value)
Sets the overtime rate for a resource for the specified period.
|
void |
setOvertimeRateFormat(int value)
Sets the units used by Microsoft Project to display the overtime rate.
|
void |
setRatesFrom(Date value)
Sets the date when a rate becomes effective.
|
void |
setRatesTo(Date value)
Sets the last date when a rate is effective.
|
void |
setRateTable(int value)
Sets the unique identifier of a rate table for a resource.
|
void |
setStandardRate(BigDecimal value)
Sets the standard rate for a resource for the specified period.
|
void |
setStandardRateFormat(int value)
Sets the units used by Microsoft Project to display the standard rate.
|
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.
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.
value
- the cost per use of a resource.public final BigDecimal getOvertimeRate()
Gets the overtime rate for a resource for the specified period.
public final void setOvertimeRate(BigDecimal value)
Sets the overtime rate for a resource for the specified period.
value
- the overtime rate for a resource for the specified period.public final int getOvertimeRateFormat()
Gets the units used by Microsoft Project to display the overtime rate.
public final void setOvertimeRateFormat(int value)
Sets the units used by Microsoft Project to display the overtime rate.
value
- the units used by Microsoft Project to display the overtime rate.public final int getRateTable()
Gets the unique identifier of a rate table for a resource.
public final void setRateTable(int value)
Sets the unique identifier of a rate table for a resource.
value
- the unique identifier of a rate table for a resource.public final Date getRatesFrom()
Gets the date when a rate becomes effective.
public final void setRatesFrom(Date value)
Sets the date when a rate becomes effective.
value
- the date when a rate becomes effective.public final Date getRatesTo()
Gets the last date when a rate is effective.
public final void setRatesTo(Date value)
Sets the last date when a rate is effective.
value
- the last date when a rate is effective.public final BigDecimal getStandardRate()
Gets the standard rate for a resource for the specified period.
public final void setStandardRate(BigDecimal value)
Sets the standard rate for a resource for the specified period.
value
- the standard rate for a resource for the specified period.public final int getStandardRateFormat()
Gets the units used by Microsoft Project to display the standard rate.
public final void setStandardRateFormat(int value)
Sets the units used by Microsoft Project to display the standard rate.
value
- the units used by Microsoft Project to display the standard rate.