org.sql.generation.implementation.grammar.definition.table
Class TableDefinitionImpl

java.lang.Object
  extended by org.atp.spi.TypeableImpl<SchemaStatement,TableDefinition>
      extended by org.sql.generation.implementation.grammar.definition.table.TableDefinitionImpl
All Implemented Interfaces:
org.atp.api.Typeable<SchemaStatement>, SchemaDefinitionStatement, SchemaStatement, SQLStatement, SchemaElement, TableDefinition

public class TableDefinitionImpl
extends org.atp.spi.TypeableImpl<SchemaStatement,TableDefinition>
implements TableDefinition

Author:
Stanislav Muhametsin

Constructor Summary
protected TableDefinitionImpl(Class<? extends TableDefinition> realImplementingType, TableCommitAction commitAction, TableContentsSource contents, TableName name, TableScope scope)
           
  TableDefinitionImpl(TableCommitAction commitAction, TableContentsSource contents, TableName name, TableScope scope)
           
 
Method Summary
 org.atp.api.Typeable<?> asTypeable()
           
protected  boolean doesEqual(TableDefinition another)
           
 TableCommitAction getCommitAction()
           
 TableContentsSource getContents()
           
 TableName getTableName()
           
 TableScope getTableScope()
           
 
Methods inherited from class org.atp.spi.TypeableImpl
bothNullOrEquals, equals, getImplementedType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.atp.api.Typeable
getImplementedType
 

Constructor Detail

TableDefinitionImpl

public TableDefinitionImpl(TableCommitAction commitAction,
                           TableContentsSource contents,
                           TableName name,
                           TableScope scope)

TableDefinitionImpl

protected TableDefinitionImpl(Class<? extends TableDefinition> realImplementingType,
                              TableCommitAction commitAction,
                              TableContentsSource contents,
                              TableName name,
                              TableScope scope)
Method Detail

doesEqual

protected boolean doesEqual(TableDefinition another)
Specified by:
doesEqual in class org.atp.spi.TypeableImpl<SchemaStatement,TableDefinition>

asTypeable

public org.atp.api.Typeable<?> asTypeable()
Specified by:
asTypeable in interface SchemaElement

getCommitAction

public TableCommitAction getCommitAction()
Specified by:
getCommitAction in interface TableDefinition

getContents

public TableContentsSource getContents()
Specified by:
getContents in interface TableDefinition

getTableName

public TableName getTableName()
Specified by:
getTableName in interface TableDefinition

getTableScope

public TableScope getTableScope()
Specified by:
getTableScope in interface TableDefinition


Copyright © 2010-2011. All Rights Reserved.