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 thestatementTypexsd type
-
-
Constructor Summary
Constructors Constructor Description StatementTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)StatementTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete 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-statementselementTup()
-
-
-
Method Detail
-
trackStatements
public StatementType<T> trackStatements(TrackStatementsType trackStatements)
Sets thetrack-statementselement- Specified by:
trackStatementsin interfaceStatementType<T>- Parameters:
trackStatements- the value for the elementtrack-statements- Returns:
- the current instance of
StatementType
-
trackStatements
public StatementType<T> trackStatements(String trackStatements)
Sets thetrack-statementselement- Specified by:
trackStatementsin interfaceStatementType<T>- Parameters:
trackStatements- the value for the elementtrack-statements- Returns:
- the current instance of
StatementType
-
getTrackStatements
public TrackStatementsType getTrackStatements()
Returns thetrack-statementselement- Specified by:
getTrackStatementsin interfaceStatementType<T>- Returns:
- the value found for the element
track-statements
-
getTrackStatementsAsString
public String getTrackStatementsAsString()
Returns thetrack-statementselement- Specified by:
getTrackStatementsAsStringin interfaceStatementType<T>- Returns:
- the value found for the element
track-statements
-
removeTrackStatements
public StatementType<T> removeTrackStatements()
Removes thetrack-statementsattribute- Specified by:
removeTrackStatementsin interfaceStatementType<T>- Returns:
- the current instance of
StatementType
-
preparedStatementCacheSize
public StatementType<T> preparedStatementCacheSize(Integer preparedStatementCacheSize)
Sets theprepared-statement-cache-sizeelement- Specified by:
preparedStatementCacheSizein interfaceStatementType<T>- Parameters:
preparedStatementCacheSize- the value for the elementprepared-statement-cache-size- Returns:
- the current instance of
StatementType
-
getPreparedStatementCacheSize
public Integer getPreparedStatementCacheSize()
Returns theprepared-statement-cache-sizeelement- Specified by:
getPreparedStatementCacheSizein interfaceStatementType<T>- Returns:
- the node defined for the element
prepared-statement-cache-size
-
removePreparedStatementCacheSize
public StatementType<T> removePreparedStatementCacheSize()
Removes theprepared-statement-cache-sizeelement- Specified by:
removePreparedStatementCacheSizein interfaceStatementType<T>- Returns:
- the current instance of
StatementType
-
sharePreparedStatements
public StatementType<T> sharePreparedStatements()
Sets theshare-prepared-statementselement- Specified by:
sharePreparedStatementsin interfaceStatementType<T>- Returns:
- the current instance of
StatementType
-
isSharePreparedStatements
public Boolean isSharePreparedStatements()
Removes theshare-prepared-statementselement- Specified by:
isSharePreparedStatementsin interfaceStatementType<T>- Returns:
- the current instance of
StatementType
-
removeSharePreparedStatements
public StatementType<T> removeSharePreparedStatements()
Removes theshare-prepared-statementselement- Specified by:
removeSharePreparedStatementsin interfaceStatementType<T>- Returns:
- the current instance of
StatementType
-
-