Package org.apache.openejb.jee
Class Timer
- java.lang.Object
-
- org.apache.openejb.jee.Timer
-
public class Timer extends Object
ejb-jar_3_1.xsdJava class for timerType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="timerType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" maxOccurs="unbounded" minOccurs="0"/> <element name="schedule" type="{http://java.sun.com/xml/ns/javaee}timer-scheduleType"/> <element name="start" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="end" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="timeout-method" type="{http://java.sun.com/xml/ns/javaee}named-methodType"/> <element name="persistent" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/> <element name="timezone" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/> <element name="info" type="{http://java.sun.com/xml/ns/javaee}string" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected TextMapdescriptionprotected XMLGregorianCalendarendprotected Stringidprotected Stringinfoprotected Booleanpersistentprotected TimerSchedulescheduleprotected XMLGregorianCalendarstartprotected NamedMethodtimeoutMethodprotected Stringtimezone
-
Constructor Summary
Constructors Constructor Description Timer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()Text[]getDescriptions()XMLGregorianCalendargetEnd()Gets the value of the end property.StringgetId()Gets the value of the id property.StringgetInfo()Gets the value of the info property.BooleangetPersistent()TimerSchedulegetSchedule()Gets the value of the schedule property.XMLGregorianCalendargetStart()Gets the value of the start property.NamedMethodgetTimeoutMethod()Gets the value of the timeoutMethod property.StringgetTimezone()Gets the value of the timezone property.voidsetDescriptions(Text[] text)voidsetEnd(XMLGregorianCalendar value)Sets the value of the end property.voidsetId(String value)Sets the value of the id property.voidsetInfo(String value)Sets the value of the info property.voidsetPersistent(Boolean value)voidsetSchedule(TimerSchedule value)Sets the value of the schedule property.voidsetStart(XMLGregorianCalendar value)Sets the value of the start property.voidsetTimeoutMethod(NamedMethod value)Sets the value of the timeoutMethod property.voidsetTimezone(String value)Sets the value of the timezone property.
-
-
-
Field Detail
-
description
protected TextMap description
-
schedule
protected TimerSchedule schedule
-
start
protected XMLGregorianCalendar start
-
end
protected XMLGregorianCalendar end
-
timeoutMethod
protected NamedMethod timeoutMethod
-
persistent
protected Boolean persistent
-
timezone
protected String timezone
-
info
protected String info
-
id
protected String id
-
-
Method Detail
-
getDescriptions
public Text[] getDescriptions()
-
setDescriptions
public void setDescriptions(Text[] text)
-
getDescription
public String getDescription()
-
getSchedule
public TimerSchedule getSchedule()
Gets the value of the schedule property.- Returns:
- possible object is
TimerSchedule
-
setSchedule
public void setSchedule(TimerSchedule value)
Sets the value of the schedule property.- Parameters:
value- allowed object isTimerSchedule
-
getStart
public XMLGregorianCalendar getStart()
Gets the value of the start property.- Returns:
- possible object is
XMLGregorianCalendar
-
setStart
public void setStart(XMLGregorianCalendar value)
Sets the value of the start property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getEnd
public XMLGregorianCalendar getEnd()
Gets the value of the end property.- Returns:
- possible object is
XMLGregorianCalendar
-
setEnd
public void setEnd(XMLGregorianCalendar value)
Sets the value of the end property.- Parameters:
value- allowed object isXMLGregorianCalendar
-
getTimeoutMethod
public NamedMethod getTimeoutMethod()
Gets the value of the timeoutMethod property.- Returns:
- possible object is
NamedMethod
-
setTimeoutMethod
public void setTimeoutMethod(NamedMethod value)
Sets the value of the timeoutMethod property.- Parameters:
value- allowed object isNamedMethod
-
getPersistent
public Boolean getPersistent()
-
setPersistent
public void setPersistent(Boolean value)
-
getTimezone
public String getTimezone()
Gets the value of the timezone property.- Returns:
- possible object is
String
-
setTimezone
public void setTimezone(String value)
Sets the value of the timezone property.- Parameters:
value- allowed object isString
-
getInfo
public String getInfo()
Gets the value of the info property.- Returns:
- possible object is
String
-
setInfo
public void setInfo(String value)
Sets the value of the info property.- Parameters:
value- allowed object isString
-
-