ThinkUI SQL Client 1.1.3 API

thinkui.sqlclient.commands
Class GenerateAttrNamePropertiesCommand

java.lang.Object
  extended bythinkui.db.AbstractDataObject
      extended bythinkui.command.AbstractCommand
          extended bythinkui.desktop.AbstractSwingCommand
              extended bythinkui.sqlclient.AbstractSQLClientCommand
                  extended bythinkui.sqlclient.AbstractGenerateCommand
                      extended bythinkui.sqlclient.commands.GenerateAttrNamePropertiesCommand
All Implemented Interfaces:
thinkui.common.Abortable, thinkui.common.CaptionSupport, thinkui.common.ClassNameSupport, java.lang.Cloneable, thinkui.command.Command, thinkui.command.CommandErrorHandler, java.lang.Comparable, thinkui.db.DataClassSupport, DataObject, thinkui.sqlclient.MultipleSelectionSupport, java.io.Serializable

public class GenerateAttrNamePropertiesCommand
extends AbstractGenerateCommand
implements thinkui.sqlclient.MultipleSelectionSupport

Implements a command to generate attribute name properties for the selected objects.

See Also:
Serialized Form

Field Summary
static java.lang.String ATTR_NAME_SUFFIX
           
static java.lang.String ATTR_VALUE_CODE
           
static java.lang.String CLASS_HEADER
           
static java.lang.String CLASS_SEPARATOR
           
static java.lang.String CONNECTION_SPECIFIC
           
static DataClass DATA_CLASS
           
static java.lang.String SCHEMA_SPECIFIC
           
static java.lang.String STMT_PREFIX
           
static java.lang.String STMT_SUFFIX
           
static java.lang.String USE_CLASS_NAME
           
 
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
GenerateAttrNamePropertiesCommand()
          GenerateAttrNamePropertiesCommand 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.sqlclient.AbstractSQLClientCommand
canTranslateToDataClass, canTranslateToTableData, filterDataObjects, getDataObjectManager, getMetaDataManager, handleError, isUseApplicationDataObjectManager, postExecute, preExecute, setUseApplicationDataObjectManager, translateToDataClass, translateToTableData, translateToTableData, translateToTableData, translateToTableData
 
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

ATTR_NAME_SUFFIX

public static final java.lang.String ATTR_NAME_SUFFIX
See Also:
Constant Field Values

ATTR_VALUE_CODE

public static final java.lang.String ATTR_VALUE_CODE
See Also:
Constant Field Values

CLASS_HEADER

public static final java.lang.String CLASS_HEADER
See Also:
Constant Field Values

CLASS_SEPARATOR

public static final java.lang.String CLASS_SEPARATOR
See Also:
Constant Field Values

CONNECTION_SPECIFIC

public static final java.lang.String CONNECTION_SPECIFIC
See Also:
Constant Field Values

DATA_CLASS

public static final DataClass DATA_CLASS

SCHEMA_SPECIFIC

public static final java.lang.String SCHEMA_SPECIFIC
See Also:
Constant Field Values

STMT_PREFIX

public static final java.lang.String STMT_PREFIX
See Also:
Constant Field Values

STMT_SUFFIX

public static final java.lang.String STMT_SUFFIX
See Also:
Constant Field Values

USE_CLASS_NAME

public static final java.lang.String USE_CLASS_NAME
See Also:
Constant Field Values
Constructor Detail

GenerateAttrNamePropertiesCommand

public GenerateAttrNamePropertiesCommand()
GenerateAttrNamePropertiesCommand constructor.

Method Detail

execute

public final java.lang.Object execute(thinkui.command.CommandContext commandContext)
                               throws java.lang.Exception
Specified by:
execute in interface thinkui.command.Command
Throws:
java.lang.Exception

getDataClass

public final DataClass getDataClass()
Specified by:
getDataClass in interface thinkui.db.DataClassSupport
Overrides:
getDataClass in class AbstractGenerateCommand

ThinkUI SQL Client 1.1.3 API

Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.