thinkui.codegen.sql
Class GeneratorHelper
java.lang.Object
thinkui.codegen.sql.GeneratorHelper
- public abstract class GeneratorHelper
- extends java.lang.Object
Abstract base class for various database generator classes.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COMMAND_TYPE
public static final thinkui.db.attribute.EnumType COMMAND_TYPE
DATABASE_TYPE
public static final thinkui.db.attribute.EnumType DATABASE_TYPE
PROXY_TYPE
public static final thinkui.db.attribute.EnumType PROXY_TYPE
SCREEN_TYPE
public static final thinkui.db.attribute.EnumType SCREEN_TYPE
GeneratorHelper
public GeneratorHelper()
getDBColumnTypeClause
public final java.lang.String getDBColumnTypeClause(Attribute attr)
- Returns:
- the column type clause for the given attribute.
getInstance
public static final GeneratorHelper getInstance(java.lang.String targetDatabase)
- Returns:
- the GeneratorHelper instance for the given target database.
typeToString
public java.lang.String typeToString(int dataType,
AttributeConstraints constraints)
- Returns:
- the string representation of the given SQL datatype.
Copyright © 2007-2009. ThinkUI Software Inc. All rights reserved.