|
ThinkUI SQL Client 1.1.3 API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectthinkui.db.AbstractDataObject
thinkui.command.AbstractCommand
thinkui.desktop.AbstractSwingCommand
thinkui.sqlclient.AbstractSQLClientCommand
thinkui.sqlclient.AbstractGenerateCommand
thinkui.sqlclient.commands.GenerateSQLCreateTableCommand
Implements a command to generate SQL CREATE TABLE statement for a database table.
This command can be used to generate code for no selection, single selection, and multiple selection. In the case of no selection, the table name parameter should specify the table to use. Otherwise, the generate data must be configured with a single object or a list of objects.
| Field Summary | |
static java.lang.String |
ANT_BUILD_XML
|
static DataClass |
DATA_CLASS
|
static java.lang.String |
FK_RELATIONSHIPS
|
static java.lang.String |
INCLUDE_COMMENTS
|
static java.lang.String |
JAVA_JDBC_CODE
|
static java.lang.String |
STMT_SEPARATOR
|
| Fields inherited from class thinkui.sqlclient.AbstractGenerateCommand |
AUDIT_TRAIL_COLUMNS, AUTHOR_NAME, CLASS_NAME, CONNECTION_DATA, DB_CONNECTION_NAME, ENCODING, FILE_NAME, FILE_PATH, FOLDER_NAME, HEADER_TEXT, PROJECT_NAME, RETURN_CODE, SELECTION, TABLE_NAME, TARGET_DATABASE, TEMPLATE_FILE |
| Fields inherited from interface thinkui.command.Command |
NO_RESULT |
| Fields inherited from interface thinkui.db.DataObject |
INDEX_SEPARATOR, NAME_SEPARATOR |
| Constructor Summary | |
GenerateSQLCreateTableCommand()
GenerateSQLCreateTableCommand constructor. |
|
| Method Summary | |
java.lang.Object |
execute(thinkui.command.CommandContext commandContext)
|
DataClass |
getDataClass()
|
| Methods inherited from class thinkui.sqlclient.AbstractGenerateCommand |
extractTemplateFile, getAuthorName, getConnectionData, getDbConnectionName, getEncoding, getTableName, isReturnCode, resetCodeGeneratorViewer, setAuthorName, setConnectionData, setDbConnectionName, setReturnCode, setTableName |
| Methods inherited from class thinkui.desktop.AbstractSwingCommand |
getCommandManager, getLabel, getSelectedObject, getSelectedObjects, setCommandManager, setLabel |
| Methods inherited from class thinkui.command.AbstractCommand |
abort, equals, getData, getExecutionState, getInitCommand, getNextCommand, getObjectClassName, isAbortable, isAbortRequested, isEnabled, isPrecondition, setAbortRequested, setData, setEnabled, setExecutionState, setInitCommand, setNextCommand |
| Methods inherited from class thinkui.db.AbstractDataObject |
clearValue, clearValues, compareTo, copy, copyFrom, copyFrom, copyFrom, copyNonEmptyValuesFrom, getAsString, getAttribute, getBigDecimal, getBigInteger, getBoolean, getCaption, getCharacter, getDate, getInteger, getLong, getModifiedAttrNames, getName, getNumber, getPersistentState, getPrimaryKey, getShort, getString, getTimestamp, getValue, getValuesMap, hashCode, initFrom, initFrom, initFrom, initValue, isAttribute, isModified, isModified, isNew, isOverridden, isReadOnly, isReadOnly, isValueEmpty, isValueSet, override, setModifiedAttrNames, setName, setPersistentState, setReadOnly, setValue, setValuesMap, toString, validate |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface thinkui.db.DataObject |
clearValue, clearValues, copy, copyFrom, copyFrom, copyFrom, getAsString, getAttribute, getBigDecimal, getBigInteger, getBoolean, getCharacter, getDate, getInteger, getLong, getModifiedAttrNames, getName, getPersistentState, getPrimaryKey, getShort, getString, getTimestamp, getValue, getValuesMap, hashCode, initFrom, initFrom, initFrom, initValue, isAttribute, isModified, isModified, isNew, isOverridden, isReadOnly, isReadOnly, isValueEmpty, isValueSet, override, setModifiedAttrNames, setName, setPersistentState, setReadOnly, setValue, setValuesMap, toString, validate |
| Methods inherited from interface java.lang.Comparable |
compareTo |
| Methods inherited from interface thinkui.common.CaptionSupport |
getCaption |
| Field Detail |
public static final java.lang.String ANT_BUILD_XML
public static final DataClass DATA_CLASS
public static final java.lang.String FK_RELATIONSHIPS
public static final java.lang.String INCLUDE_COMMENTS
public static final java.lang.String JAVA_JDBC_CODE
public static final java.lang.String STMT_SEPARATOR
| Constructor Detail |
public GenerateSQLCreateTableCommand()
| Method Detail |
public final java.lang.Object execute(thinkui.command.CommandContext commandContext)
throws java.lang.Exception
execute in interface thinkui.command.Commandjava.lang.Exceptionpublic final DataClass getDataClass()
getDataClass in interface thinkui.db.DataClassSupportgetDataClass in class AbstractGenerateCommand
|
ThinkUI SQL Client 1.1.3 API | |||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.