public class CostRateTableEntry extends Object implements Comparable<CostRateTableEntry>
| Modifier and Type | Field and Description |
|---|---|
static CostRateTableEntry |
DEFAULT_ENTRY |
| Constructor and Description |
|---|
CostRateTableEntry(Rate standardRate,
TimeUnit standardRateFormat,
Rate overtimeRate,
TimeUnit overtimeRateFormat,
Number costPerUse,
Date endDate)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public static final CostRateTableEntry DEFAULT_ENTRY
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 datepublic 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>Copyright © 2013. All Rights Reserved.