T - payload typepublic abstract class TimephasedItem<T> extends Object
| Constructor and Description |
|---|
TimephasedItem() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
T |
getAmountPerHour()
Retrieve the amount per hour.
|
LocalDateTime |
getFinish()
Retrieve the finish date.
|
LocalDateTime |
getStart()
Retrieve the start date.
|
T |
getTotalAmount()
Retrieve the total amount.
|
int |
hashCode() |
void |
setAmountPerHour(T amountPerHour)
Set the amount per hour.
|
void |
setFinish(LocalDateTime finish)
Set the finish date.
|
void |
setStart(LocalDateTime start)
Set the start date.
|
void |
setTotalAmount(T totalAmount)
Set the total amount.
|
String |
toString() |
public LocalDateTime getStart()
public void setStart(LocalDateTime start)
start - start datepublic T getAmountPerHour()
public void setAmountPerHour(T amountPerHour)
amountPerHour - amount per hourpublic T getTotalAmount()
public void setTotalAmount(T totalAmount)
totalAmount - total amountpublic LocalDateTime getFinish()
public void setFinish(LocalDateTime finish)
finish - finish dateCopyright © 2000–2026 MPXJ. All rights reserved.