|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.CostRateTableEntry
public class CostRateTableEntry
This class represents a row from a resource's cost rate table. Note that MS Project always represents costs as an hourly rate, it holds an additional field to indicate the format used when displaying the rate.
| Field Summary | |
|---|---|
static CostRateTableEntry |
DEFAULT_ENTRY
|
| Constructor Summary | |
|---|---|
CostRateTableEntry(Rate standardRate,
TimeUnit standardRateFormat,
Rate overtimeRate,
TimeUnit overtimeRateFormat,
Number costPerUse,
Date endDate)
Constructor. |
|
| Method Summary | |
|---|---|
int |
compareTo(CostRateTableEntry o)
|
Number |
getCostPerUse()
Retrieves the cost per use represented by this entry. |
Date |
getEndDate()
Retrieves the end date after which this table entry is not valid. |
Rate |
getOvertimeRate()
Retrieves the overtime rate represented by this entry. |
TimeUnit |
getOvertimeRateFormat()
Retrieves the format used when displaying the overtime rate. |
Rate |
getStandardRate()
Retrieves the standard rate represented by this entry. |
TimeUnit |
getStandardRateFormat()
Retrieves the format used when displaying the standard rate. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final CostRateTableEntry DEFAULT_ENTRY
| Constructor Detail |
|---|
public CostRateTableEntry(Rate standardRate,
TimeUnit standardRateFormat,
Rate overtimeRate,
TimeUnit overtimeRateFormat,
Number costPerUse,
Date endDate)
standardRate - standard ratestandardRateFormat - standard rate formatovertimeRate - overtime rateovertimeRateFormat - overtime rate formatcostPerUse - cost per useendDate - end date| Method Detail |
|---|
public Date getEndDate()
public Rate getStandardRate()
public TimeUnit getStandardRateFormat()
public Rate getOvertimeRate()
public TimeUnit getOvertimeRateFormat()
public Number getCostPerUse()
public int compareTo(CostRateTableEntry o)
compareTo in interface Comparable<CostRateTableEntry>public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||