Class StatementTypeImpl<T>
java.lang.Object
org.jboss.jca.embedded.dsl.datasources12.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 Summary
ConstructorsConstructorDescriptionStatementTypeImpl(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
Modifier and TypeMethodDescriptionReturns theprepared-statement-cache-sizeelementReturns thetrack-statementselementReturns thetrack-statementselementRemoves theshare-prepared-statementselementpreparedStatementCacheSize(Integer preparedStatementCacheSize) Sets theprepared-statement-cache-sizeelementRemoves theprepared-statement-cache-sizeelementRemoves theshare-prepared-statementselementRemoves thetrack-statementsattributeSets theshare-prepared-statementselementtrackStatements(String trackStatements) Sets thetrack-statementselementtrackStatements(TrackStatementsType trackStatements) Sets thetrack-statementselementup()
-
Constructor Details
-
StatementTypeImpl
-
StatementTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
trackStatements
Sets thetrack-statementselement- Specified by:
trackStatementsin interfaceStatementType<T>- Parameters:
trackStatements- the value for the elementtrack-statements- Returns:
- the current instance of
StatementType
-
trackStatements
Sets thetrack-statementselement- Specified by:
trackStatementsin interfaceStatementType<T>- Parameters:
trackStatements- the value for the elementtrack-statements- Returns:
- the current instance of
StatementType
-
getTrackStatements
Returns thetrack-statementselement- Specified by:
getTrackStatementsin interfaceStatementType<T>- Returns:
- the value found for the element
track-statements
-
getTrackStatementsAsString
Returns thetrack-statementselement- Specified by:
getTrackStatementsAsStringin interfaceStatementType<T>- Returns:
- the value found for the element
track-statements
-
removeTrackStatements
Removes thetrack-statementsattribute- Specified by:
removeTrackStatementsin interfaceStatementType<T>- Returns:
- the current instance of
StatementType
-
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
Returns theprepared-statement-cache-sizeelement- Specified by:
getPreparedStatementCacheSizein interfaceStatementType<T>- Returns:
- the node defined for the element
prepared-statement-cache-size
-
removePreparedStatementCacheSize
Removes theprepared-statement-cache-sizeelement- Specified by:
removePreparedStatementCacheSizein interfaceStatementType<T>- Returns:
- the current instance of
StatementType
-