|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.definer.TimeToElapse
Models elapsed time in workflows.
Supported API: true
Extendable: false
Field Summary | |
private static String |
CLASSNAME
|
private long |
duration
|
private static String |
RESOURCE
|
Constructor Summary | |
TimeToElapse(long duration)
Constructs a TimeToElapse object from the time given
in milliseconds. |
Method Summary | |
boolean |
equals(Object obj)
|
int |
getDays()
|
long |
getTimeToElapse()
Retrieves the time to elapse in milliseconds. |
long |
longValue()
Retrieves the time to elapse in milliseconds. |
void |
setTimeToElapse(int days)
Sets the time to elapse given the number of days. |
void |
setTimeToElapse(int days,
int hours,
int minutes,
int seconds)
Sets the time to elapse given the number of days, hours, minutes and seconds. |
String |
toString()
Returns string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private long duration
Constructor Detail |
public TimeToElapse(long duration)
TimeToElapse
object from the time given
in milliseconds.
duration
- Method Detail |
public void setTimeToElapse(int days, int hours, int minutes, int seconds)
days
- hours
- minutes
- seconds
- public void setTimeToElapse(int days)
days
- public long getTimeToElapse()
public long longValue()
public String toString()
public boolean equals(Object obj)
public int getDays()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |