net.sourceforge.squirrel_sql.plugins.sqlscript.table_script
Class CreateTableScriptCommand

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.sqlscript.table_script.CreateTableScriptCommand
All Implemented Interfaces:
ICommand

public class CreateTableScriptCommand
extends Object
implements ICommand


Constructor Summary
CreateTableScriptCommand(ISession session, SQLScriptPlugin plugin)
          Ctor specifying the current session.
 
Method Summary
 String createTableScriptString(IDatabaseObjectInfo dbObj)
           
 String createTableScriptString(IDatabaseObjectInfo[] dbObjs)
           
 void execute()
          Execute this command.
 void scriptTablesToSQLEntryArea(IDatabaseObjectInfo[] dbObjs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateTableScriptCommand

public CreateTableScriptCommand(ISession session,
                                SQLScriptPlugin plugin)
Ctor specifying the current session.

Method Detail

execute

public void execute()
Execute this command. Use the database meta data to construct a Create Table SQL script and place it in the SQL entry panel.

Specified by:
execute in interface ICommand

scriptTablesToSQLEntryArea

public void scriptTablesToSQLEntryArea(IDatabaseObjectInfo[] dbObjs)

createTableScriptString

public String createTableScriptString(IDatabaseObjectInfo dbObj)

createTableScriptString

public String createTableScriptString(IDatabaseObjectInfo[] dbObjs)


Copyright © 2001-2011. All Rights Reserved.