ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.ejbjar31
Interface TimerType<T>

All Superinterfaces:
Child<T>

public interface TimerType<T>
extends Child<T>

This interface defines the contract for the timerType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 TimerType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 TimerType<T> end(Date end)
          Sets the end element
 List<String> getAllDescription()
          Returns all description elements
 Date getEnd()
          Returns the end element
 String getInfo()
          Returns the info element
 TimerScheduleType<TimerType<T>> getOrCreateSchedule()
          If not already created, a new schedule element with the given value will be created.
 NamedMethodType<TimerType<T>> getOrCreateTimeoutMethod()
          If not already created, a new timeout-method element with the given value will be created.
 Date getStart()
          Returns the start element
 String getTimezone()
          Returns the timezone element
 TimerType<T> info(String info)
          Sets the info element
 Boolean isPersistent()
          Returns the persistent element
 TimerType<T> persistent(Boolean persistent)
          Sets the persistent element
 TimerType<T> removeAllDescription()
          Removes the description element
 TimerType<T> removeEnd()
          Removes the end element
 TimerType<T> removeInfo()
          Removes the info element
 TimerType<T> removePersistent()
          Removes the persistent element
 TimerType<T> removeSchedule()
          Removes the schedule element
 TimerType<T> removeStart()
          Removes the start element
 TimerType<T> removeTimeoutMethod()
          Removes the timeout-method element
 TimerType<T> removeTimezone()
          Removes the timezone element
 TimerType<T> start(Date start)
          Sets the start element
 TimerType<T> timezone(String timezone)
          Sets the timezone element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

TimerType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of TimerType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

TimerType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of TimerType

getOrCreateSchedule

TimerScheduleType<TimerType<T>> getOrCreateSchedule()
If not already created, a new schedule element with the given value will be created. Otherwise, the existing schedule element will be returned.

Returns:
a new or existing instance of TimerScheduleType>

removeSchedule

TimerType<T> removeSchedule()
Removes the schedule element

Returns:
the current instance of TimerType

start

TimerType<T> start(Date start)
Sets the start element

Parameters:
start - the value for the element start
Returns:
the current instance of TimerType

getStart

Date getStart()
Returns the start element

Returns:
the node defined for the element start

removeStart

TimerType<T> removeStart()
Removes the start element

Returns:
the current instance of TimerType

end

TimerType<T> end(Date end)
Sets the end element

Parameters:
end - the value for the element end
Returns:
the current instance of TimerType

getEnd

Date getEnd()
Returns the end element

Returns:
the node defined for the element end

removeEnd

TimerType<T> removeEnd()
Removes the end element

Returns:
the current instance of TimerType

getOrCreateTimeoutMethod

NamedMethodType<TimerType<T>> getOrCreateTimeoutMethod()
If not already created, a new timeout-method element with the given value will be created. Otherwise, the existing timeout-method element will be returned.

Returns:
a new or existing instance of NamedMethodType>

removeTimeoutMethod

TimerType<T> removeTimeoutMethod()
Removes the timeout-method element

Returns:
the current instance of TimerType

persistent

TimerType<T> persistent(Boolean persistent)
Sets the persistent element

Parameters:
persistent - the value for the element persistent
Returns:
the current instance of TimerType

isPersistent

Boolean isPersistent()
Returns the persistent element

Returns:
the node defined for the element persistent

removePersistent

TimerType<T> removePersistent()
Removes the persistent element

Returns:
the current instance of TimerType

timezone

TimerType<T> timezone(String timezone)
Sets the timezone element

Parameters:
timezone - the value for the element timezone
Returns:
the current instance of TimerType

getTimezone

String getTimezone()
Returns the timezone element

Returns:
the node defined for the element timezone

removeTimezone

TimerType<T> removeTimezone()
Removes the timezone element

Returns:
the current instance of TimerType

info

TimerType<T> info(String info)
Sets the info element

Parameters:
info - the value for the element info
Returns:
the current instance of TimerType

getInfo

String getInfo()
Returns the info element

Returns:
the node defined for the element info

removeInfo

TimerType<T> removeInfo()
Removes the info element

Returns:
the current instance of TimerType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.