javax.ejb
Class ScheduleExpression
java.lang.Object
javax.ejb.ScheduleExpression
- All Implemented Interfaces:
- Serializable
public class ScheduleExpression
- extends Object
- implements Serializable
A calendar-based timeout expression for an enterprise bean timer.
- Since:
- EJB 3.1 version.
- Author:
- Florent Benoit
- See Also:
- EJB 3.1 specification,
Serialized Form
ScheduleExpression
public ScheduleExpression()
dayOfMonth
public ScheduleExpression dayOfMonth(int dayOfMonth)
dayOfMonth
public ScheduleExpression dayOfMonth(String dayOfMonth)
dayOfWeek
public ScheduleExpression dayOfWeek(int dayOfWeek)
dayOfWeek
public ScheduleExpression dayOfWeek(String dayOfWeek)
end
public ScheduleExpression end(Date e)
getDayOfMonth
public String getDayOfMonth()
getDayOfWeek
public String getDayOfWeek()
getEnd
public Date getEnd()
getHour
public String getHour()
getMinute
public String getMinute()
getMonth
public String getMonth()
getSecond
public String getSecond()
getStart
public Date getStart()
getTimezone
public String getTimezone()
getYear
public String getYear()
hour
public ScheduleExpression hour(int hour)
hour
public ScheduleExpression hour(String hour)
minute
public ScheduleExpression minute(int minute)
minute
public ScheduleExpression minute(String minute)
month
public ScheduleExpression month(int month)
month
public ScheduleExpression month(String month)
second
public ScheduleExpression second(int second)
second
public ScheduleExpression second(String second)
start
public ScheduleExpression start(Date start)
timezone
public ScheduleExpression timezone(String timezoneID)
year
public ScheduleExpression year(int year)
year
public ScheduleExpression year(String year)
toString
public String toString()
- Overrides:
toString in class Object
- Returns:
- stringified version.
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.