Package org.jboss.jca.common.metadata.ds
Class StatementImpl
- java.lang.Object
-
- org.jboss.jca.common.metadata.ds.StatementImpl
-
- All Implemented Interfaces:
Serializable,Statement,JCAMetadata,ValidatableMetadata
public class StatementImpl extends Object implements Statement
A StatementImpl.- Author:
- Stefano Maestri
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jboss.jca.common.api.metadata.ds.Statement
Statement.Tag, Statement.TrackStatementsEnum
-
-
Constructor Summary
Constructors Constructor Description StatementImpl(Boolean sharePreparedStatements, Long preparedStatementsCacheSize, Statement.TrackStatementsEnum trackStatements)Create a new StatementImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)LonggetPreparedStatementsCacheSize()Get the preparedStatementsCacheSize.Statement.TrackStatementsEnumgetTrackStatements()Get the trackStatements.inthashCode()BooleanisSharePreparedStatements()Get the sharePreparedStatements.StringtoString()voidvalidate()
-
-
-
Constructor Detail
-
StatementImpl
public StatementImpl(Boolean sharePreparedStatements, Long preparedStatementsCacheSize, Statement.TrackStatementsEnum trackStatements) throws ValidateException
Create a new StatementImpl.- Parameters:
sharePreparedStatements- sharePreparedStatementspreparedStatementsCacheSize- preparedStatementsCacheSizetrackStatements- trackStatements- Throws:
ValidateException- ValidateException
-
-
Method Detail
-
isSharePreparedStatements
public final Boolean isSharePreparedStatements()
Get the sharePreparedStatements.- Specified by:
isSharePreparedStatementsin interfaceStatement- Returns:
- the sharePreparedStatements.
-
getPreparedStatementsCacheSize
public final Long getPreparedStatementsCacheSize()
Get the preparedStatementsCacheSize.- Specified by:
getPreparedStatementsCacheSizein interfaceStatement- Returns:
- the preparedStatementsCacheSize.
-
getTrackStatements
public final Statement.TrackStatementsEnum getTrackStatements()
Get the trackStatements.- Specified by:
getTrackStatementsin interfaceStatement- Returns:
- the trackStatements.
-
validate
public void validate() throws ValidateException- Specified by:
validatein interfaceValidatableMetadata- Throws:
ValidateException
-
-