|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.mpxj.TimephasedItem<T>
T - payload typepublic abstract class TimephasedItem<T>
This class represents an amount, spread over a period of time.
| Constructor Summary | |
|---|---|
TimephasedItem()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
T |
getAmountPerDay()
Retrieve the amount per day. |
Date |
getFinish()
Retrieve the finish date. |
boolean |
getModified()
Retrieve the modified flag. |
Date |
getStart()
Retrieve the start date. |
T |
getTotalAmount()
Retrieve the total amount. |
int |
hashCode()
|
void |
setAmountPerDay(T amountPerDay)
Set the amount per day. |
void |
setFinish(Date finish)
Set the finish date. |
void |
setModified(boolean modified)
Set the modified flag. |
void |
setStart(Date start)
Set the start date. |
void |
setTotalAmount(T totalAmount)
Set the total amount. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimephasedItem()
| Method Detail |
|---|
public Date getStart()
public void setStart(Date start)
start - start datepublic T getAmountPerDay()
public void setAmountPerDay(T amountPerDay)
amountPerDay - amount per daypublic boolean getModified()
public void setModified(boolean modified)
modified - modified flagpublic T getTotalAmount()
public void setTotalAmount(T totalAmount)
totalAmount - total amountpublic Date getFinish()
public void setFinish(Date finish)
finish - finish datepublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||