| java.lang.Object com.rift.coad.daemon.timer.TimerEvent
TimerEvent | public class TimerEvent implements Serializable(Code) | | This object stores the values of an event from the database.
author: Glynn Chaldecott |
Constructor Summary | |
public | TimerEvent() | public | TimerEvent(int id, String jndi, Serializable event, int month, int day, int hour, int minute, boolean recure) The contructor responsible for setting the private member variables. |
Method Summary | |
public int | getDay() The get method for day. | public Serializable | getEvent() The getter method for the event. | public int | getHour() The get method for hour. | public int | getId() The getter method for the id. | public String | getJndi() The getter method for the JNDI url. | public int | getMinute() The get method for minute. | public int | getMonth() The get method for month. | public boolean | getRecure() This getter for the recure flag. | public void | setDay(int day) The set method for day. | public void | setEvent(Serializable event) Set the event. | public void | setHour(int hour) The set method for hour. | public void | setId(int id) The setter method for the event id. | public void | setJndi(String jndi) The setter method for the JNDI url. | public void | setMinute(int minute) The set method for minute. | public void | setMonth(int month) The set method for month. | public void | setRecure(boolean recure) The setter for the recure method. |
TimerEvent | public TimerEvent()(Code) | | Creates a new instance of TimerEvent
|
TimerEvent | public TimerEvent(int id, String jndi, Serializable event, int month, int day, int hour, int minute, boolean recure)(Code) | | The contructor responsible for setting the private member variables.
Parameters: id - The id of the timer. Parameters: jndi - The jndi url for the event. Parameters: event - The serializable event identifier. Parameters: month - The month the event occurs in. Parameters: day - The day of the month that the event occurs on. Parameters: hour - The hour the event occurs on. Parameters: minute - The minute the event occurs on. Parameters: recure - If true the event will recure and is not just a once off. |
getDay | public int getDay()(Code) | | The get method for day.
Returns the value for day. |
getEvent | public Serializable getEvent()(Code) | | The getter method for the event.
The object that indicates the event that this object was createdfor. |
getHour | public int getHour()(Code) | | The get method for hour.
Returns the value for hour. |
getId | public int getId()(Code) | | The getter method for the id.
Returns the id of this event. |
getJndi | public String getJndi()(Code) | | The getter method for the JNDI url.
The string containing the JNDI url. |
getMinute | public int getMinute()(Code) | | The get method for minute.
Returns the value for minute. |
getMonth | public int getMonth()(Code) | | The get method for month.
Returns the value for month. |
getRecure | public boolean getRecure()(Code) | | This getter for the recure flag.
The recure flag. |
setDay | public void setDay(int day)(Code) | | The set method for day.
Parameters: day - The new value for day. |
setEvent | public void setEvent(Serializable event)(Code) | | Set the event.
Parameters: event - The object used to identify this event. |
setHour | public void setHour(int hour)(Code) | | The set method for hour.
Parameters: hour - The new value for hour. |
setId | public void setId(int id)(Code) | | The setter method for the event id.
Parameters: id - The id of the |
setJndi | public void setJndi(String jndi)(Code) | | The setter method for the JNDI url.
Parameters: jndi - The jndi url. |
setMinute | public void setMinute(int minute)(Code) | | The set method for minute.
Parameters: minute - The new value for minute. |
setMonth | public void setMonth(int month)(Code) | | The set method for month.
Parameters: month - The new value for month. |
setRecure | public void setRecure(boolean recure)(Code) | | The setter for the recure method.
Parameters: recure - The new recure flag value. |
|
|