Class StatementTypeImpl<T>

java.lang.Object
org.jboss.jca.embedded.dsl.datasources13.impl.StatementTypeImpl<T>
All Implemented Interfaces:
StatementType<T>, org.jboss.shrinkwrap.descriptor.api.Child<T>

public class StatementTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, StatementType<T>
This class implements the statementType xsd type
  • Constructor Details

    • StatementTypeImpl

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

      public StatementTypeImpl(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>
    • trackStatements

      public StatementType<T> trackStatements(TrackStatementsType trackStatements)
      Sets the track-statements element
      Specified by:
      trackStatements in interface StatementType<T>
      Parameters:
      trackStatements - the value for the element track-statements
      Returns:
      the current instance of StatementType
    • trackStatements

      public StatementType<T> trackStatements(String trackStatements)
      Sets the track-statements element
      Specified by:
      trackStatements in interface StatementType<T>
      Parameters:
      trackStatements - the value for the element track-statements
      Returns:
      the current instance of StatementType
    • getTrackStatements

      public TrackStatementsType getTrackStatements()
      Returns the track-statements element
      Specified by:
      getTrackStatements in interface StatementType<T>
      Returns:
      the value found for the element track-statements
    • getTrackStatementsAsString

      public String getTrackStatementsAsString()
      Returns the track-statements element
      Specified by:
      getTrackStatementsAsString in interface StatementType<T>
      Returns:
      the value found for the element track-statements
    • removeTrackStatements

      public StatementType<T> removeTrackStatements()
      Removes the track-statements attribute
      Specified by:
      removeTrackStatements in interface StatementType<T>
      Returns:
      the current instance of StatementType
    • preparedStatementCacheSize

      public StatementType<T> preparedStatementCacheSize(Integer preparedStatementCacheSize)
      Sets the prepared-statement-cache-size element
      Specified by:
      preparedStatementCacheSize in interface StatementType<T>
      Parameters:
      preparedStatementCacheSize - the value for the element prepared-statement-cache-size
      Returns:
      the current instance of StatementType
    • getPreparedStatementCacheSize

      public Integer getPreparedStatementCacheSize()
      Returns the prepared-statement-cache-size element
      Specified by:
      getPreparedStatementCacheSize in interface StatementType<T>
      Returns:
      the node defined for the element prepared-statement-cache-size
    • removePreparedStatementCacheSize

      public StatementType<T> removePreparedStatementCacheSize()
      Removes the prepared-statement-cache-size element
      Specified by:
      removePreparedStatementCacheSize in interface StatementType<T>
      Returns:
      the current instance of StatementType
    • sharePreparedStatements

      public StatementType<T> sharePreparedStatements()
      Sets the share-prepared-statements element
      Specified by:
      sharePreparedStatements in interface StatementType<T>
      Returns:
      the current instance of StatementType
    • isSharePreparedStatements

      public Boolean isSharePreparedStatements()
      Removes the share-prepared-statements element
      Specified by:
      isSharePreparedStatements in interface StatementType<T>
      Returns:
      the current instance of StatementType
    • removeSharePreparedStatements

      public StatementType<T> removeSharePreparedStatements()
      Removes the share-prepared-statements element
      Specified by:
      removeSharePreparedStatements in interface StatementType<T>
      Returns:
      the current instance of StatementType