public class Rate extends Object
Represents a definition of a time period and rates applicable for a resource during that period.
Constructor and Description |
---|
Rate() |
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getCostPerUse()
Returns the cost per use of a resource.
|
BigDecimal |
getOvertimeRate()
Returns the overtime rate for a resource for the specified period.
|
int |
getOvertimeRateFormat()
Returns the units used by Microsoft Project to display the overtime rate.
|
Date |
getRatesFrom()
Returns the date when a rate becomes effective.
|
Date |
getRatesTo()
Returns the last date when a rate is effective.
|
int |
getRateTable()
Returns the unique identifier of a rate table for a resource.
|
BigDecimal |
getStandardRate()
Returns the standard rate for a resource for the specified period.
|
int |
getStandardRateFormat()
Returns 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 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
.
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
.
value
- cost per use.public BigDecimal getOvertimeRate()
Returns the overtime rate for a resource for the specified period.
Read/write BigDecimal
.
public void setOvertimeRate(BigDecimal value)
Sets the overtime rate for a resource for the specified period.
Read/write BigDecimal
.
value
- overtime rate.public int getOvertimeRateFormat()
Returns the units used by Microsoft Project to display the overtime rate.
Read/write RateFormatType
.
public void setOvertimeRateFormat(int value)
Sets the units used by Microsoft Project to display the overtime rate.
Read/write RateFormatType
.
value
- overtime rate format.public int getRateTable()
Returns the unique identifier of a rate table for a resource.
Read/write RateType
.
public void setRateTable(int value)
Sets the unique identifier of a rate table for a resource.
Read/write RateType
.
value
- rate table type.public Date getRatesFrom()
Returns the date when a rate becomes effective.
Read/write Date
.
public void setRatesFrom(Date value)
Sets the date when a rate becomes effective.
Read/write Date
.
value
- from date.public Date getRatesTo()
Returns the last date when a rate is effective.
Read/write Date
.
public void setRatesTo(Date value)
Sets the last date when a rate is effective.
Read/write Date
.
value
- to date.public BigDecimal getStandardRate()
Returns the standard rate for a resource for the specified period.
Read/write BigDecimal
.
public void setStandardRate(BigDecimal value)
Sets the standard rate for a resource for the specified period.
Read/write BigDecimal
.
value
- standard rate.public int getStandardRateFormat()
Returns the units used by Microsoft Project to display the standard rate.
Read/write RateFormatType
.
public void setStandardRateFormat(int value)
Sets the units used by Microsoft Project to display the standard rate.
Read/write RateFormatType
.
value
- standard rate format.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.