org.jboss.ironjacamar.impl
Class XaPoolTypeImpl<T>

java.lang.Object
  extended by org.jboss.ironjacamar.impl.XaPoolTypeImpl<T>
All Implemented Interfaces:
XaPoolType<T>, Child<T>

public class XaPoolTypeImpl<T>
extends Object
implements Child<T>, XaPoolType<T>

This class implements the xa-poolType xsd type

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

Constructor Summary
XaPoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
XaPoolTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 XaPoolType<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
 XaPoolType<T> interleaving()
          Sets the interleaving element
 Boolean isInterleaving()
          Removes the interleaving element
 Boolean isIsSameRmOverride()
          Returns the is-same-rm-override element
 Boolean isNoTxSeparatePools()
          Removes the no-tx-separate-pools element
 Boolean isPadXid()
          Returns the pad-xid element
 Boolean isPrefill()
          Returns the prefill element
 XaPoolType<T> isSameRmOverride(Boolean isSameRmOverride)
          Sets the is-same-rm-override element
 Boolean isUseStrictMin()
          Returns the use-strict-min element
 Boolean isWrapXaResource()
          Returns the wrap-xa-resource element
 XaPoolType<T> maxPoolSize(Integer maxPoolSize)
          Sets the max-pool-size element
 XaPoolType<T> minPoolSize(Integer minPoolSize)
          Sets the min-pool-size element
 XaPoolType<T> noTxSeparatePools()
          Sets the no-tx-separate-pools element
 XaPoolType<T> padXid(Boolean padXid)
          Sets the pad-xid element
 XaPoolType<T> prefill(Boolean prefill)
          Sets the prefill element
 XaPoolType<T> removeFlushStrategy()
          Removes the flush-strategy element
 XaPoolType<T> removeInterleaving()
          Removes the interleaving element
 XaPoolType<T> removeIsSameRmOverride()
          Removes the is-same-rm-override element
 XaPoolType<T> removeMaxPoolSize()
          Removes the max-pool-size element
 XaPoolType<T> removeMinPoolSize()
          Removes the min-pool-size element
 XaPoolType<T> removeNoTxSeparatePools()
          Removes the no-tx-separate-pools element
 XaPoolType<T> removePadXid()
          Removes the pad-xid element
 XaPoolType<T> removePrefill()
          Removes the prefill element
 XaPoolType<T> removeUseStrictMin()
          Removes the use-strict-min element
 XaPoolType<T> removeWrapXaResource()
          Removes the wrap-xa-resource element
 T up()
          Returns the parent of this Child
 XaPoolType<T> useStrictMin(Boolean useStrictMin)
          Sets the use-strict-min element
 XaPoolType<T> wrapXaResource(Boolean wrapXaResource)
          Sets the wrap-xa-resource element
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XaPoolTypeImpl

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

XaPoolTypeImpl

public XaPoolTypeImpl(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 XaPoolType<T> minPoolSize(Integer minPoolSize)
Sets the min-pool-size element

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

getMinPoolSize

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

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

removeMinPoolSize

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

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

maxPoolSize

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

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

getMaxPoolSize

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

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

removeMaxPoolSize

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

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

prefill

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

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

isPrefill

public Boolean isPrefill()
Returns the prefill element

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

removePrefill

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

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

useStrictMin

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

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

isUseStrictMin

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

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

removeUseStrictMin

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

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

flushStrategy

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

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

getFlushStrategy

public String getFlushStrategy()
Returns the flush-strategy element

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

removeFlushStrategy

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

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

isSameRmOverride

public XaPoolType<T> isSameRmOverride(Boolean isSameRmOverride)
Sets the is-same-rm-override element

Specified by:
isSameRmOverride in interface XaPoolType<T>
Parameters:
isSameRmOverride - the value for the element is-same-rm-override
Returns:
the current instance of XaPoolType

isIsSameRmOverride

public Boolean isIsSameRmOverride()
Returns the is-same-rm-override element

Specified by:
isIsSameRmOverride in interface XaPoolType<T>
Returns:
the node defined for the element is-same-rm-override

removeIsSameRmOverride

public XaPoolType<T> removeIsSameRmOverride()
Removes the is-same-rm-override element

Specified by:
removeIsSameRmOverride in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

interleaving

public XaPoolType<T> interleaving()
Sets the interleaving element

Specified by:
interleaving in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

isInterleaving

public Boolean isInterleaving()
Removes the interleaving element

Specified by:
isInterleaving in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

removeInterleaving

public XaPoolType<T> removeInterleaving()
Removes the interleaving element

Specified by:
removeInterleaving in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

noTxSeparatePools

public XaPoolType<T> noTxSeparatePools()
Sets the no-tx-separate-pools element

Specified by:
noTxSeparatePools in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

isNoTxSeparatePools

public Boolean isNoTxSeparatePools()
Removes the no-tx-separate-pools element

Specified by:
isNoTxSeparatePools in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

removeNoTxSeparatePools

public XaPoolType<T> removeNoTxSeparatePools()
Removes the no-tx-separate-pools element

Specified by:
removeNoTxSeparatePools in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

padXid

public XaPoolType<T> padXid(Boolean padXid)
Sets the pad-xid element

Specified by:
padXid in interface XaPoolType<T>
Parameters:
padXid - the value for the element pad-xid
Returns:
the current instance of XaPoolType

isPadXid

public Boolean isPadXid()
Returns the pad-xid element

Specified by:
isPadXid in interface XaPoolType<T>
Returns:
the node defined for the element pad-xid

removePadXid

public XaPoolType<T> removePadXid()
Removes the pad-xid element

Specified by:
removePadXid in interface XaPoolType<T>
Returns:
the current instance of XaPoolType

wrapXaResource

public XaPoolType<T> wrapXaResource(Boolean wrapXaResource)
Sets the wrap-xa-resource element

Specified by:
wrapXaResource in interface XaPoolType<T>
Parameters:
wrapXaResource - the value for the element wrap-xa-resource
Returns:
the current instance of XaPoolType

isWrapXaResource

public Boolean isWrapXaResource()
Returns the wrap-xa-resource element

Specified by:
isWrapXaResource in interface XaPoolType<T>
Returns:
the node defined for the element wrap-xa-resource

removeWrapXaResource

public XaPoolType<T> removeWrapXaResource()
Removes the wrap-xa-resource element

Specified by:
removeWrapXaResource in interface XaPoolType<T>
Returns:
the current instance of XaPoolType


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