org.apache.openejb.jee
Class Timer

java.lang.Object
  extended by org.apache.openejb.jee.Timer

public class Timer
extends Object

ejb-jar_3_1.xsd

Java 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
protected  TextMap description
           
protected  XMLGregorianCalendar end
           
protected  String id
           
protected  String info
           
protected  Boolean persistent
           
protected  TimerSchedule schedule
           
protected  XMLGregorianCalendar start
           
protected  NamedMethod timeoutMethod
           
protected  String timezone
           
 
Constructor Summary
Timer()
           
 
Method Summary
 String getDescription()
           
 Text[] getDescriptions()
           
 XMLGregorianCalendar getEnd()
          Gets the value of the end property.
 String getId()
          Gets the value of the id property.
 String getInfo()
          Gets the value of the info property.
 Boolean getPersistent()
           
 TimerSchedule getSchedule()
          Gets the value of the schedule property.
 XMLGregorianCalendar getStart()
          Gets the value of the start property.
 NamedMethod getTimeoutMethod()
          Gets the value of the timeoutMethod property.
 String getTimezone()
          Gets the value of the timezone property.
 void setDescriptions(Text[] text)
           
 void setEnd(XMLGregorianCalendar value)
          Sets the value of the end property.
 void setId(String value)
          Sets the value of the id property.
 void setInfo(String value)
          Sets the value of the info property.
 void setPersistent(Boolean value)
           
 void setSchedule(TimerSchedule value)
          Sets the value of the schedule property.
 void setStart(XMLGregorianCalendar value)
          Sets the value of the start property.
 void setTimeoutMethod(NamedMethod value)
          Sets the value of the timeoutMethod property.
 void setTimezone(String value)
          Sets the value of the timezone property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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
Constructor Detail

Timer

public Timer()
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 is TimerSchedule

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 is XMLGregorianCalendar

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 is XMLGregorianCalendar

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 is NamedMethod

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 is String

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 is String

getId

public String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.