org.sql.generation.api.grammar.builders.definition
Interface TableDefinitionBuilder

All Superinterfaces:
AbstractBuilder<TableDefinition>

public interface TableDefinitionBuilder
extends AbstractBuilder<TableDefinition>

This is the builder for table definition statements (CREATE TABLE ...).

Author:
Stanislav Muhametsin

Method Summary
 TableCommitAction getCommitAction()
          Returns the commit action for this table.
 TableContentsSource getTableContentsSource()
          Returns the table contents source for this table.
 TableNameDirect getTableName()
          Returns the name for this table.
 TableScope getTableScope()
          Returns the scope for this table.
 TableDefinitionBuilder setCommitAction(TableCommitAction commitAction)
          Sets the commit action for this table.
 TableDefinitionBuilder setTableContentsSource(TableContentsSource contents)
          Sets the contents source for this table.
 TableDefinitionBuilder setTableName(TableNameDirect tableName)
          Sets the name for this table.
 TableDefinitionBuilder setTableScope(TableScope scope)
          Sets the scope for this table.
 
Methods inherited from interface org.sql.generation.api.grammar.builders.AbstractBuilder
createExpression
 

Method Detail

setTableScope

TableDefinitionBuilder setTableScope(TableScope scope)
Sets the scope for this table.

Parameters:
scope - The scope for this table.
Returns:
This builder.
See Also:
TableScope

setTableName

TableDefinitionBuilder setTableName(TableNameDirect tableName)
Sets the name for this table.

Parameters:
tableName - The name for this table.
Returns:
This builder.
See Also:
TableName

setCommitAction

TableDefinitionBuilder setCommitAction(TableCommitAction commitAction)
Sets the commit action for this table.

Parameters:
commitAction - The commit action for this table.
Returns:
This builder.
See Also:
TableCommitAction

setTableContentsSource

TableDefinitionBuilder setTableContentsSource(TableContentsSource contents)
Sets the contents source for this table.

Parameters:
contents - The contents source for this table.
Returns:
This builder.
See Also:
TableContentsSource, TableElementList

getTableScope

TableScope getTableScope()
Returns the scope for this table.

Returns:
The scope for this table.

getTableName

TableNameDirect getTableName()
Returns the name for this table.

Returns:
The name for this table.

getCommitAction

TableCommitAction getCommitAction()
Returns the commit action for this table.

Returns:
The commit action for this table.

getTableContentsSource

TableContentsSource getTableContentsSource()
Returns the table contents source for this table.

Returns:
The table contents source for this table.


Copyright © 2010-2012. All Rights Reserved.