org.sql.generation.api.grammar.builders.modification
Interface InsertStatementBuilder

All Superinterfaces:
AbstractBuilder<InsertStatement>

public interface InsertStatementBuilder
extends AbstractBuilder<InsertStatement>

This builder builds statements inserting rows to tables (INSERT INTO tableName [( column names )] expression).

Author:
Stanislav Muhametsin
See Also:
TableName, ColumnSource

Method Summary
 ColumnSource getColumnSource()
          Returns the source for the columns for this INSERT statement.
 TableName getTableName()
          Returns the table name for this INSERT statement.
 InsertStatementBuilder setColumnSource(ColumnSource source)
          Sets the source for the columns for this INSERT statement.
 InsertStatementBuilder setTableName(TableName tableName)
          Sets the table name for this INSERT statement.
 
Methods inherited from interface org.sql.generation.api.grammar.builders.AbstractBuilder
createExpression
 

Method Detail

setTableName

InsertStatementBuilder setTableName(TableName tableName)
Sets the table name for this INSERT statement.

Parameters:
tableName - The table name for this INSERT statement.
Returns:
This builder.

getTableName

TableName getTableName()
Returns the table name for this INSERT statement.

Returns:
The table name for this INSERT statement.

setColumnSource

InsertStatementBuilder setColumnSource(ColumnSource source)
Sets the source for the columns for this INSERT statement.

Parameters:
source - The source for columns for this INSERT statement.
Returns:
This builder.

getColumnSource

ColumnSource getColumnSource()
Returns the source for the columns for this INSERT statement.

Returns:
The source for the columns for this INSERT statement.


Copyright © 2010. All Rights Reserved.