|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.sasl.aop.monitoring.execution.time.TimeUnitsBean
public class TimeUnitsBean
Bean that can store different time values to corresponding time units.
Constructor Summary | |
---|---|
TimeUnitsBean()
|
Method Summary | |
---|---|
long |
convertToMilliseconds()
Converts the time values stored in the bean into milliseconds. |
int |
getDays()
Returns the amount of days. |
int |
getHours()
Returns the amount of hours. |
int |
getMilliseconds()
Returns the amount of milliseconds. |
int |
getMinutes()
Returns the amount of minutes. |
int |
getSeconds()
|
void |
setDays(int days)
Sets the amount of days. |
void |
setHours(int hours)
Sets the amount of hours. |
void |
setMilliseconds(int milliseconds)
Sets the amount of milliseconds. |
void |
setMinutes(int minutes)
Sets the amount of minutes. |
void |
setSeconds(int seconds)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeUnitsBean()
Method Detail |
---|
public int getMilliseconds()
public void setMilliseconds(int milliseconds)
milliseconds
- any integer valuepublic int getSeconds()
public void setSeconds(int seconds)
public int getMinutes()
public void setMinutes(int minutes)
minutes
- any integer valuepublic int getHours()
public void setHours(int hours)
hours
- any integer valuepublic int getDays()
public void setDays(int days)
days
- any integer valuepublic long convertToMilliseconds()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |