Class TimerEntity
- java.lang.Object
-
- org.jboss.as.ejb3.timerservice.persistence.TimerEntity
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CalendarTimerEntity
public class TimerEntity extends Object implements Serializable
DO NOT MODIFY THIS CLASS Due to a temporary implementation that became permanent, theFileTimerPersistencewrites these out directly, modifying this class will break compatibility- Author:
- Carlo de Wolf, Stuart Douglas
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringidprotected Serializableinfoprotected DateinitialDateprotected DatenextDateprotected DatepreviousRunprotected longrepeatIntervalprotected StringtimedObjectIdprotected TimerStatetimerState
-
Constructor Summary
Constructors Constructor Description TimerEntity(TimerImpl timer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetId()SerializablegetInfo()DategetInitialDate()longgetInterval()DategetNextDate()DategetPreviousRun()StringgetTimedObjectId()TimerStategetTimerState()inthashCode()
-
-
-
Field Detail
-
id
protected final String id
-
timedObjectId
protected final String timedObjectId
-
initialDate
protected final Date initialDate
-
repeatInterval
protected final long repeatInterval
-
nextDate
protected final Date nextDate
-
previousRun
protected final Date previousRun
-
info
protected final Serializable info
-
timerState
protected final TimerState timerState
-
-
Constructor Detail
-
TimerEntity
public TimerEntity(TimerImpl timer)
-
-
Method Detail
-
getId
public String getId()
-
getTimedObjectId
public String getTimedObjectId()
-
getInitialDate
public Date getInitialDate()
-
getInterval
public long getInterval()
-
getInfo
public Serializable getInfo()
-
getNextDate
public Date getNextDate()
-
getPreviousRun
public Date getPreviousRun()
-
getTimerState
public TimerState getTimerState()
-
-