|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Orm2ddlPolicy>
org.ujoframework.orm.ao.Orm2ddlPolicy
public enum Orm2ddlPolicy
Possible values to create the DLL (Data Definition Language) for for defining data structures.
MetaParams| Enum Constant Summary | |
|---|---|
CREATE_DDL
Create full DDL structure in condition that the the database structure was not found. |
|
CREATE_OR_UPDATE_DDL
Create or update full DDL structure. |
|
DO_NOTHING
Framework is expected to match the DDL structure with the ORM model and do not make any validation. |
|
VALIDATE
Throw the IllegalStateException in case missing a table, index, or column in the connected database. |
|
| Method Summary | |
|---|---|
static Orm2ddlPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Orm2ddlPolicy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Orm2ddlPolicy DO_NOTHING
public static final Orm2ddlPolicy CREATE_DDL
public static final Orm2ddlPolicy CREATE_OR_UPDATE_DDL
public static final Orm2ddlPolicy VALIDATE
| Method Detail |
|---|
public static Orm2ddlPolicy[] values()
for (Orm2ddlPolicy c : Orm2ddlPolicy.values()) System.out.println(c);
public static Orm2ddlPolicy valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||