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

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

public class PoolTypeImpl<T>
extends Object
implements Child<T>, PoolType<T>

This class implements the poolType xsd type

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

Constructor Summary
PoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
PoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 PoolType<T> flushStrategy(String flushStrategy)
          Sets the flush-strategy element
 String getFlushStrategy()
          Returns the flush-strategy element
 Integer getMaxPoolSize()
          Returns the max-pool-size element
 Integer getMinPoolSize()
          Returns the min-pool-size element
 Boolean isPrefill()
          Returns the prefill element
 Boolean isUseStrictMin()
          Returns the use-strict-min element
 PoolType<T> maxPoolSize(Integer maxPoolSize)
          Sets the max-pool-size element
 PoolType<T> minPoolSize(Integer minPoolSize)
          Sets the min-pool-size element
 PoolType<T> prefill(Boolean prefill)
          Sets the prefill element
 PoolType<T> removeFlushStrategy()
          Removes the flush-strategy element
 PoolType<T> removeMaxPoolSize()
          Removes the max-pool-size element
 PoolType<T> removeMinPoolSize()
          Removes the min-pool-size element
 PoolType<T> removePrefill()
          Removes the prefill element
 PoolType<T> removeUseStrictMin()
          Removes the use-strict-min element
 T up()
          Returns the parent of this Child
 PoolType<T> useStrictMin(Boolean useStrictMin)
          Sets the use-strict-min element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PoolTypeImpl

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

PoolTypeImpl

public PoolTypeImpl(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

minPoolSize

public PoolType<T> minPoolSize(Integer minPoolSize)
Sets the min-pool-size element

Specified by:
minPoolSize in interface PoolType<T>
Parameters:
minPoolSize - the value for the element min-pool-size
Returns:
the current instance of PoolType

getMinPoolSize

public Integer getMinPoolSize()
Returns the min-pool-size element

Specified by:
getMinPoolSize in interface PoolType<T>
Returns:
the node defined for the element min-pool-size

removeMinPoolSize

public PoolType<T> removeMinPoolSize()
Removes the min-pool-size element

Specified by:
removeMinPoolSize in interface PoolType<T>
Returns:
the current instance of PoolType

maxPoolSize

public PoolType<T> maxPoolSize(Integer maxPoolSize)
Sets the max-pool-size element

Specified by:
maxPoolSize in interface PoolType<T>
Parameters:
maxPoolSize - the value for the element max-pool-size
Returns:
the current instance of PoolType

getMaxPoolSize

public Integer getMaxPoolSize()
Returns the max-pool-size element

Specified by:
getMaxPoolSize in interface PoolType<T>
Returns:
the node defined for the element max-pool-size

removeMaxPoolSize

public PoolType<T> removeMaxPoolSize()
Removes the max-pool-size element

Specified by:
removeMaxPoolSize in interface PoolType<T>
Returns:
the current instance of PoolType

prefill

public PoolType<T> prefill(Boolean prefill)
Sets the prefill element

Specified by:
prefill in interface PoolType<T>
Parameters:
prefill - the value for the element prefill
Returns:
the current instance of PoolType

isPrefill

public Boolean isPrefill()
Returns the prefill element

Specified by:
isPrefill in interface PoolType<T>
Returns:
the node defined for the element prefill

removePrefill

public PoolType<T> removePrefill()
Removes the prefill element

Specified by:
removePrefill in interface PoolType<T>
Returns:
the current instance of PoolType

useStrictMin

public PoolType<T> useStrictMin(Boolean useStrictMin)
Sets the use-strict-min element

Specified by:
useStrictMin in interface PoolType<T>
Parameters:
useStrictMin - the value for the element use-strict-min
Returns:
the current instance of PoolType

isUseStrictMin

public Boolean isUseStrictMin()
Returns the use-strict-min element

Specified by:
isUseStrictMin in interface PoolType<T>
Returns:
the node defined for the element use-strict-min

removeUseStrictMin

public PoolType<T> removeUseStrictMin()
Removes the use-strict-min element

Specified by:
removeUseStrictMin in interface PoolType<T>
Returns:
the current instance of PoolType

flushStrategy

public PoolType<T> flushStrategy(String flushStrategy)
Sets the flush-strategy element

Specified by:
flushStrategy in interface PoolType<T>
Parameters:
flushStrategy - the value for the element flush-strategy
Returns:
the current instance of PoolType

getFlushStrategy

public String getFlushStrategy()
Returns the flush-strategy element

Specified by:
getFlushStrategy in interface PoolType<T>
Returns:
the node defined for the element flush-strategy

removeFlushStrategy

public PoolType<T> removeFlushStrategy()
Removes the flush-strategy element

Specified by:
removeFlushStrategy in interface PoolType<T>
Returns:
the current instance of PoolType


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