org.sql.generation.api.grammar.definition.table
Interface TableDefinition

All Superinterfaces:
SchemaDefinitionStatement, SchemaElement, SchemaStatement, SQLStatement, org.atp.api.Typeable<SchemaStatement>

public interface TableDefinition
extends SchemaDefinitionStatement, SchemaElement

This syntax element represents the table definition (CREATE TABLE ) statement.

Author:
Stanislav Muhametsin

Method Summary
 TableCommitAction getCommitAction()
          Returns the commit action for this table.
 TableContentsSource getContents()
          Returns the actual body of this table definition.
 TableName getTableName()
          Returns the name for this table.
 TableScope getTableScope()
          Returns the table scope for this table.
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 
Methods inherited from interface org.sql.generation.api.grammar.definition.schema.SchemaElement
asTypeable
 

Method Detail

getTableScope

TableScope getTableScope()
Returns the table scope for this table. May be null if no scope defined.

Returns:
The table scope for this table. May be null if no scope defined.
See Also:
TableScope

getTableName

TableName getTableName()
Returns the name for this table.

Returns:
The name for this table.
See Also:
TableName

getCommitAction

TableCommitAction getCommitAction()
Returns the commit action for this table. May be null if no commit action defined.

Returns:
The commit action for this table. May be null if no commit action defined.
See Also:
TableCommitAction

getContents

TableContentsSource getContents()
Returns the actual body of this table definition. Usually is a list of column definitions and constraints.

Returns:
The actual body of this table definition.


Copyright © 2010. All Rights Reserved.