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 thestatementTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetPreparedStatementCacheSize()Returns theprepared-statement-cache-sizeelementTrackStatementsTypegetTrackStatements()Returns thetrack-statementselementStringgetTrackStatementsAsString()Returns thetrack-statementselementBooleanisSharePreparedStatements()Removes theshare-prepared-statementselementStatementType<T>preparedStatementCacheSize(Integer preparedStatementCacheSize)Sets theprepared-statement-cache-sizeelementStatementType<T>removePreparedStatementCacheSize()Removes theprepared-statement-cache-sizeelementStatementType<T>removeSharePreparedStatements()Removes theshare-prepared-statementselementStatementType<T>removeTrackStatements()Removes thetrack-statementsattributeStatementType<T>sharePreparedStatements()Sets theshare-prepared-statementselementStatementType<T>trackStatements(String trackStatements)Sets thetrack-statementselementStatementType<T>trackStatements(TrackStatementsType trackStatements)Sets thetrack-statementselement
-
-
-
Method Detail
-
trackStatements
StatementType<T> trackStatements(TrackStatementsType trackStatements)
Sets thetrack-statementselement- Parameters:
trackStatements- the value for the elementtrack-statements- Returns:
- the current instance of
StatementType
-
trackStatements
StatementType<T> trackStatements(String trackStatements)
Sets thetrack-statementselement- Parameters:
trackStatements- the value for the elementtrack-statements- Returns:
- the current instance of
StatementType
-
getTrackStatements
TrackStatementsType getTrackStatements()
Returns thetrack-statementselement- Returns:
- the value found for the element
track-statements
-
getTrackStatementsAsString
String getTrackStatementsAsString()
Returns thetrack-statementselement- Returns:
- the value found for the element
track-statements
-
removeTrackStatements
StatementType<T> removeTrackStatements()
Removes thetrack-statementsattribute- Returns:
- the current instance of
StatementType
-
preparedStatementCacheSize
StatementType<T> preparedStatementCacheSize(Integer preparedStatementCacheSize)
Sets theprepared-statement-cache-sizeelement- Parameters:
preparedStatementCacheSize- the value for the elementprepared-statement-cache-size- Returns:
- the current instance of
StatementType
-
getPreparedStatementCacheSize
Integer getPreparedStatementCacheSize()
Returns theprepared-statement-cache-sizeelement- Returns:
- the node defined for the element
prepared-statement-cache-size
-
removePreparedStatementCacheSize
StatementType<T> removePreparedStatementCacheSize()
Removes theprepared-statement-cache-sizeelement- Returns:
- the current instance of
StatementType
-
sharePreparedStatements
StatementType<T> sharePreparedStatements()
Sets theshare-prepared-statementselement- Returns:
- the current instance of
StatementType
-
isSharePreparedStatements
Boolean isSharePreparedStatements()
Removes theshare-prepared-statementselement- Returns:
- the current instance of
StatementType
-
removeSharePreparedStatements
StatementType<T> removeSharePreparedStatements()
Removes theshare-prepared-statementselement- Returns:
- the current instance of
StatementType
-
-