Interface StatementType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    StatementTypeImpl

    public interface StatementType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the statementType xsd type
    • Method Detail

      • trackStatements

        StatementType<T> trackStatements​(TrackStatementsType trackStatements)
        Sets the track-statements element
        Parameters:
        trackStatements - the value for the element track-statements
        Returns:
        the current instance of StatementType
      • trackStatements

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

        TrackStatementsType getTrackStatements()
        Returns the track-statements element
        Returns:
        the value found for the element track-statements
      • getTrackStatementsAsString

        String getTrackStatementsAsString()
        Returns the track-statements element
        Returns:
        the value found for the element track-statements
      • removeTrackStatements

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

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

        Integer getPreparedStatementCacheSize()
        Returns the prepared-statement-cache-size element
        Returns:
        the node defined for the element prepared-statement-cache-size
      • removePreparedStatementCacheSize

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

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

        Boolean isSharePreparedStatements()
        Removes the share-prepared-statements element
        Returns:
        the current instance of StatementType
      • removeSharePreparedStatements

        StatementType<T> removeSharePreparedStatements()
        Removes the share-prepared-statements element
        Returns:
        the current instance of StatementType