Class XaPoolTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.ironjacamar13.impl.XaPoolTypeImpl<T>
All Implemented Interfaces:
XaPoolType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class XaPoolTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, XaPoolType<T>
This class implements the xa-poolType xsd type
  • Constructor Details

    • 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 Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • 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
    • initialPoolSize

      public XaPoolType<T> initialPoolSize(Integer initialPoolSize)
      Sets the initial-pool-size element
      Specified by:
      initialPoolSize in interface XaPoolType<T>
      Parameters:
      initialPoolSize - the value for the element initial-pool-size
      Returns:
      the current instance of XaPoolType
    • getInitialPoolSize

      public Integer getInitialPoolSize()
      Returns the initial-pool-size element
      Specified by:
      getInitialPoolSize in interface XaPoolType<T>
      Returns:
      the node defined for the element initial-pool-size
    • removeInitialPoolSize

      public XaPoolType<T> removeInitialPoolSize()
      Removes the initial-pool-size element
      Specified by:
      removeInitialPoolSize 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
    • fair

      public XaPoolType<T> fair(Boolean fair)
      Sets the fair element
      Specified by:
      fair in interface XaPoolType<T>
      Parameters:
      fair - the value for the element fair
      Returns:
      the current instance of XaPoolType
    • isFair

      public Boolean isFair()
      Returns the fair element
      Specified by:
      isFair in interface XaPoolType<T>
      Returns:
      the node defined for the element fair
    • removeFair

      public XaPoolType<T> removeFair()
      Removes the fair element
      Specified by:
      removeFair 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
    • getOrCreateCapacity

      public CapacityType<XaPoolType<T>> getOrCreateCapacity()
      If not already created, a new capacity element with the given value will be created. Otherwise, the existing capacity element will be returned.
      Specified by:
      getOrCreateCapacity in interface XaPoolType<T>
      Returns:
      a new or existing instance of CapacityTypeinvalid input: '<'XaPoolType>
    • removeCapacity

      public XaPoolType<T> removeCapacity()
      Removes the capacity element
      Specified by:
      removeCapacity 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