org.jboss.datasources.api
Interface StatementType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
StatementTypeImpl

public interface StatementType<T>
extends Child<T>

This interface defines the contract for the statementType xsd type

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

Method Summary
 Integer getPreparedStatementCacheSize()
          Returns the prepared-statement-cache-size element
 TrackStatementsType getTrackStatements()
          Returns the track-statements element
 String getTrackStatementsAsString()
          Returns the track-statements element
 Boolean isSharePreparedStatements()
          Removes the share-prepared-statements element
 StatementType<T> preparedStatementCacheSize(Integer preparedStatementCacheSize)
          Sets the prepared-statement-cache-size element
 StatementType<T> removePreparedStatementCacheSize()
          Removes the prepared-statement-cache-size element
 StatementType<T> removeSharePreparedStatements()
          Removes the share-prepared-statements element
 StatementType<T> removeTrackStatements()
          Removes the track-statements attribute
 StatementType<T> sharePreparedStatements()
          Sets the share-prepared-statements element
 StatementType<T> trackStatements(String trackStatements)
          Sets the track-statements element
 StatementType<T> trackStatements(TrackStatementsType trackStatements)
          Sets the track-statements element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

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


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