org.datanucleus.store.rdbms.sql
Interface StatementGenerator

All Known Implementing Classes:
AbstractStatementGenerator, DiscriminatorStatementGenerator, UnionStatementGenerator

public interface StatementGenerator

Generator of SQLStatements.


Method Summary
 SQLStatement getStatement()
          Accessor for the statement.
 boolean hasOption(java.lang.String name)
          Whether the generator has a particular option set.
 StatementGenerator setOption(java.lang.String name)
          Method to set a property.
 StatementGenerator unsetOption(java.lang.String name)
          Method to unset a property.
 

Method Detail

getStatement

SQLStatement getStatement()
Accessor for the statement.

Returns:
The SQLStatement

setOption

StatementGenerator setOption(java.lang.String name)
Method to set a property.

Parameters:
name - Name of the property

unsetOption

StatementGenerator unsetOption(java.lang.String name)
Method to unset a property.

Parameters:
name - Name of the property

hasOption

boolean hasOption(java.lang.String name)
Whether the generator has a particular option set.

Parameters:
name - Name of the option
Returns:
Whether it is set


Copyright © 2009. All Rights Reserved.