Class 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>
     
    • 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
      • 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