org.jboss.resourceadapters.impl
Class TimeoutTypeImpl<T>

java.lang.Object
  extended by org.jboss.resourceadapters.impl.TimeoutTypeImpl<T>
All Implemented Interfaces:
TimeoutType<T>, Child<T>

public class TimeoutTypeImpl<T>
extends Object
implements Child<T>, TimeoutType<T>

This class implements the timeoutType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Constructor Summary
TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
TimeoutTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 TimeoutType<T> allocationRetry(Integer allocationRetry)
          Sets the allocation-retry element
 TimeoutType<T> allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
          Sets the allocation-retry-wait-millis element
 TimeoutType<T> blockingTimeoutMillis(Integer blockingTimeoutMillis)
          Sets the blocking-timeout-millis element
 Integer getAllocationRetry()
          Returns the allocation-retry element
 Integer getAllocationRetryWaitMillis()
          Returns the allocation-retry-wait-millis element
 Integer getBlockingTimeoutMillis()
          Returns the blocking-timeout-millis element
 Integer getIdleTimeoutMinutes()
          Returns the idle-timeout-minutes element
 Integer getXaResourceTimeout()
          Returns the xa-resource-timeout element
 TimeoutType<T> idleTimeoutMinutes(Integer idleTimeoutMinutes)
          Sets the idle-timeout-minutes element
 TimeoutType<T> removeAllocationRetry()
          Removes the allocation-retry element
 TimeoutType<T> removeAllocationRetryWaitMillis()
          Removes the allocation-retry-wait-millis element
 TimeoutType<T> removeBlockingTimeoutMillis()
          Removes the blocking-timeout-millis element
 TimeoutType<T> removeIdleTimeoutMinutes()
          Removes the idle-timeout-minutes element
 TimeoutType<T> removeXaResourceTimeout()
          Removes the xa-resource-timeout element
 T up()
          Returns the parent of this Child
 TimeoutType<T> xaResourceTimeout(Integer xaResourceTimeout)
          Sets the xa-resource-timeout element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimeoutTypeImpl

public TimeoutTypeImpl(T t,
                       String nodeName,
                       org.jboss.shrinkwrap.descriptor.spi.node.Node node)

TimeoutTypeImpl

public TimeoutTypeImpl(T t,
                       String nodeName,
                       org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                       org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail

up

public T up()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

blockingTimeoutMillis

public TimeoutType<T> blockingTimeoutMillis(Integer blockingTimeoutMillis)
Sets the blocking-timeout-millis element

Specified by:
blockingTimeoutMillis in interface TimeoutType<T>
Parameters:
blockingTimeoutMillis - the value for the element blocking-timeout-millis
Returns:
the current instance of TimeoutType

getBlockingTimeoutMillis

public Integer getBlockingTimeoutMillis()
Returns the blocking-timeout-millis element

Specified by:
getBlockingTimeoutMillis in interface TimeoutType<T>
Returns:
the node defined for the element blocking-timeout-millis

removeBlockingTimeoutMillis

public TimeoutType<T> removeBlockingTimeoutMillis()
Removes the blocking-timeout-millis element

Specified by:
removeBlockingTimeoutMillis in interface TimeoutType<T>
Returns:
the current instance of TimeoutType

idleTimeoutMinutes

public TimeoutType<T> idleTimeoutMinutes(Integer idleTimeoutMinutes)
Sets the idle-timeout-minutes element

Specified by:
idleTimeoutMinutes in interface TimeoutType<T>
Parameters:
idleTimeoutMinutes - the value for the element idle-timeout-minutes
Returns:
the current instance of TimeoutType

getIdleTimeoutMinutes

public Integer getIdleTimeoutMinutes()
Returns the idle-timeout-minutes element

Specified by:
getIdleTimeoutMinutes in interface TimeoutType<T>
Returns:
the node defined for the element idle-timeout-minutes

removeIdleTimeoutMinutes

public TimeoutType<T> removeIdleTimeoutMinutes()
Removes the idle-timeout-minutes element

Specified by:
removeIdleTimeoutMinutes in interface TimeoutType<T>
Returns:
the current instance of TimeoutType

allocationRetry

public TimeoutType<T> allocationRetry(Integer allocationRetry)
Sets the allocation-retry element

Specified by:
allocationRetry in interface TimeoutType<T>
Parameters:
allocationRetry - the value for the element allocation-retry
Returns:
the current instance of TimeoutType

getAllocationRetry

public Integer getAllocationRetry()
Returns the allocation-retry element

Specified by:
getAllocationRetry in interface TimeoutType<T>
Returns:
the node defined for the element allocation-retry

removeAllocationRetry

public TimeoutType<T> removeAllocationRetry()
Removes the allocation-retry element

Specified by:
removeAllocationRetry in interface TimeoutType<T>
Returns:
the current instance of TimeoutType

allocationRetryWaitMillis

public TimeoutType<T> allocationRetryWaitMillis(Integer allocationRetryWaitMillis)
Sets the allocation-retry-wait-millis element

Specified by:
allocationRetryWaitMillis in interface TimeoutType<T>
Parameters:
allocationRetryWaitMillis - the value for the element allocation-retry-wait-millis
Returns:
the current instance of TimeoutType

getAllocationRetryWaitMillis

public Integer getAllocationRetryWaitMillis()
Returns the allocation-retry-wait-millis element

Specified by:
getAllocationRetryWaitMillis in interface TimeoutType<T>
Returns:
the node defined for the element allocation-retry-wait-millis

removeAllocationRetryWaitMillis

public TimeoutType<T> removeAllocationRetryWaitMillis()
Removes the allocation-retry-wait-millis element

Specified by:
removeAllocationRetryWaitMillis in interface TimeoutType<T>
Returns:
the current instance of TimeoutType

xaResourceTimeout

public TimeoutType<T> xaResourceTimeout(Integer xaResourceTimeout)
Sets the xa-resource-timeout element

Specified by:
xaResourceTimeout in interface TimeoutType<T>
Parameters:
xaResourceTimeout - the value for the element xa-resource-timeout
Returns:
the current instance of TimeoutType

getXaResourceTimeout

public Integer getXaResourceTimeout()
Returns the xa-resource-timeout element

Specified by:
getXaResourceTimeout in interface TimeoutType<T>
Returns:
the node defined for the element xa-resource-timeout

removeXaResourceTimeout

public TimeoutType<T> removeXaResourceTimeout()
Removes the xa-resource-timeout element

Specified by:
removeXaResourceTimeout in interface TimeoutType<T>
Returns:
the current instance of TimeoutType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.