|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.chorem.jtimer.entities.TimerAlert
public class TimerAlert
Alert.
Nested Class Summary | |
---|---|
static class |
TimerAlert.Type
Alert type. |
Field Summary | |
---|---|
protected long |
duration
Alert duration. |
protected TimerAlert.Type |
type
Alert type. |
Constructor Summary | |
---|---|
TimerAlert()
Constructor. |
|
TimerAlert(TimerAlert.Type type,
long duration)
Constructor. |
Method Summary | |
---|---|
TimerAlert |
clone()
|
boolean |
equals(Object obj)
|
long |
getDuration()
Get duration. |
TimerAlert.Type |
getType()
Get alert type. |
int |
hashCode()
|
void |
setDuration(long duration)
Set duration. |
void |
setType(TimerAlert.Type type)
Set alert type. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected TimerAlert.Type type
protected long duration
Constructor Detail |
---|
public TimerAlert()
public TimerAlert(TimerAlert.Type type, long duration)
type
- typeduration
- durationMethod Detail |
---|
public TimerAlert.Type getType()
public void setType(TimerAlert.Type type)
type
- the type to setpublic long getDuration()
public void setDuration(long duration)
duration
- the duration to set (in seconds)public TimerAlert clone()
clone
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |