public enum ColumnConstraintType extends java.lang.Enum<ColumnConstraintType>
Enum Constant and Description |
---|
FOREIGNKEY_MULTI
A foreign key column, defined within the "RelationTo" table, which represents a non unique (list reference) relation
|
FOREIGNKEY_NMTABLE
A foreign key column, pointing to a NM relation table
|
FOREIGNKEY_UNIQUE
A unique (class reference) foreign key, defined within the "RelationFrom" table
|
JAVA_CLASSNAME
name of the underlying java class, if table stores objects with inheritance
|
JSON_ARRAY
name of the underlying java class, if table stores objects with inheritance
|
JSON_OBJECT
text column, which represents the JSON representation of a raw object
|
PRIMARY_KEY_AUTO
Auto generated primary key column, no java property representation
|
PRIMARY_KEY_JAVA
Primary key, represented by a java property
|
TMP_CLASSREFERENCE
temporary constraint type for java class properties
|
TMP_LISTREFERENCE
temporary constraint type for java list properties
|
UNDEFINED
Undefined column name
|
Modifier and Type | Method and Description |
---|---|
static ColumnConstraintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ColumnConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ColumnConstraintType PRIMARY_KEY_JAVA
public static final ColumnConstraintType PRIMARY_KEY_AUTO
public static final ColumnConstraintType FOREIGNKEY_UNIQUE
public static final ColumnConstraintType FOREIGNKEY_MULTI
public static final ColumnConstraintType FOREIGNKEY_NMTABLE
public static final ColumnConstraintType JSON_OBJECT
public static final ColumnConstraintType JSON_ARRAY
public static final ColumnConstraintType JAVA_CLASSNAME
public static final ColumnConstraintType TMP_CLASSREFERENCE
public static final ColumnConstraintType TMP_LISTREFERENCE
public static final ColumnConstraintType UNDEFINED
public static ColumnConstraintType[] values()
for (ColumnConstraintType c : ColumnConstraintType.values()) System.out.println(c);
public static ColumnConstraintType 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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2005-2014 The Resoa Project, resoa.org.