Class 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 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()
        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
      • 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