javax.ejb
Class ScheduleExpression

java.lang.Object
  extended by 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

Constructor Summary
ScheduleExpression()
           
 
Method Summary
 ScheduleExpression dayOfMonth(int dayOfMonth)
           
 ScheduleExpression dayOfMonth(String dayOfMonth)
           
 ScheduleExpression dayOfWeek(int dayOfWeek)
           
 ScheduleExpression dayOfWeek(String dayOfWeek)
           
 ScheduleExpression end(Date e)
           
 String getDayOfMonth()
           
 String getDayOfWeek()
           
 Date getEnd()
           
 String getHour()
           
 String getMinute()
           
 String getMonth()
           
 String getSecond()
           
 Date getStart()
           
 String getTimezone()
           
 String getYear()
           
 ScheduleExpression hour(int hour)
           
 ScheduleExpression hour(String hour)
           
 ScheduleExpression minute(int minute)
           
 ScheduleExpression minute(String minute)
           
 ScheduleExpression month(int month)
           
 ScheduleExpression month(String month)
           
 ScheduleExpression second(int second)
           
 ScheduleExpression second(String second)
           
 ScheduleExpression start(Date start)
           
 ScheduleExpression timezone(String timezoneID)
           
 String toString()
           
 ScheduleExpression year(int year)
           
 ScheduleExpression year(String year)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ScheduleExpression

public ScheduleExpression()
Method Detail

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.