public static enum DBSchemaUtils.ObjectType extends Enum<DBSchemaUtils.ObjectType>
IDatabaseSchemaUpdateListener#onAction(ActionType, ObjectType, PhaseType, java.sql.Connection, String, java.util.Dictionary, IDatabaseSchemaDriver, Exception).| Enum Constant and Description |
|---|
COLUMN
handle column
|
COLUMN_DEFAULT_VALUE
handle default value of column
|
COLUMN_FOREIGN_KEY
handle foreign key
|
COLUMN_NULLABLE
handle nullable option of column
|
COLUMN_SIZE
handle size of text (char,varchar) columns
|
COLUMN_TYPE
handle type of column (char,float,blob ...)
|
SCHEMA
handle schema
|
SCHEMA_CONVERT_SCHEMA
handle custom schema-transformation between createing tables/columns and column-properties/keys
|
TABLE
handle table
|
TABLE_INDEX
handle index
|
TABLE_PRIMARY_KEY
handle primary key
|
| Modifier and Type | Method and Description |
|---|---|
static DBSchemaUtils.ObjectType |
findByInteger(int value)
search object type enum represents by
value |
static DBSchemaUtils.ObjectType |
findByName(String name)
search object type enum represents by
name |
static Set<DBSchemaUtils.ObjectType> |
getAll()
getter for all object types
|
static DBSchemaUtils.ObjectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DBSchemaUtils.ObjectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DBSchemaUtils.ObjectType SCHEMA
public static final DBSchemaUtils.ObjectType TABLE
public static final DBSchemaUtils.ObjectType TABLE_PRIMARY_KEY
public static final DBSchemaUtils.ObjectType TABLE_INDEX
public static final DBSchemaUtils.ObjectType COLUMN
public static final DBSchemaUtils.ObjectType COLUMN_DEFAULT_VALUE
public static final DBSchemaUtils.ObjectType COLUMN_NULLABLE
public static final DBSchemaUtils.ObjectType COLUMN_SIZE
public static final DBSchemaUtils.ObjectType COLUMN_TYPE
public static final DBSchemaUtils.ObjectType COLUMN_FOREIGN_KEY
public static final DBSchemaUtils.ObjectType SCHEMA_CONVERT_SCHEMA
public static DBSchemaUtils.ObjectType[] values()
for (DBSchemaUtils.ObjectType c : DBSchemaUtils.ObjectType.values()) System.out.println(c);
public static DBSchemaUtils.ObjectType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Set<DBSchemaUtils.ObjectType> getAll()
public static DBSchemaUtils.ObjectType findByInteger(int value)
valuevalue - integer value of object typevaluepublic static DBSchemaUtils.ObjectType findByName(String name)
namename - of object typenameCopyright © 2020. All rights reserved.