public class Timer extends Object
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>
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
Timer() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected TextMap description
protected TimerSchedule schedule
protected XMLGregorianCalendar start
protected XMLGregorianCalendar end
protected NamedMethod timeoutMethod
protected Boolean persistent
protected String timezone
protected String info
protected String id
public Text[] getDescriptions()
public void setDescriptions(Text[] text)
public String getDescription()
public TimerSchedule getSchedule()
TimerSchedulepublic void setSchedule(TimerSchedule value)
value - allowed object is
TimerSchedulepublic XMLGregorianCalendar getStart()
XMLGregorianCalendarpublic void setStart(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic XMLGregorianCalendar getEnd()
XMLGregorianCalendarpublic void setEnd(XMLGregorianCalendar value)
value - allowed object is
XMLGregorianCalendarpublic NamedMethod getTimeoutMethod()
NamedMethodpublic void setTimeoutMethod(NamedMethod value)
value - allowed object is
NamedMethodpublic Boolean getPersistent()
public void setPersistent(Boolean value)
public String getTimezone()
Stringpublic void setTimezone(String value)
value - allowed object is
Stringpublic String getInfo()
Stringpublic void setInfo(String value)
value - allowed object is
StringCopyright © 1999-2014 The Apache Software Foundation. All Rights Reserved.