ConstraintClause
instead@Deprecated public static enum CreateTableQuery.ColumnConstraint extends Enum<CreateTableQuery.ColumnConstraint>
Enum Constant and Description |
---|
NOT_NULL
Deprecated.
|
PRIMARY_KEY
Deprecated.
|
UNIQUE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Deprecated.
|
static CreateTableQuery.ColumnConstraint |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CreateTableQuery.ColumnConstraint[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CreateTableQuery.ColumnConstraint NOT_NULL
public static final CreateTableQuery.ColumnConstraint UNIQUE
public static final CreateTableQuery.ColumnConstraint PRIMARY_KEY
public static CreateTableQuery.ColumnConstraint[] values()
for (CreateTableQuery.ColumnConstraint c : CreateTableQuery.ColumnConstraint.values()) System.out.println(c);
public static CreateTableQuery.ColumnConstraint 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 String toString()
toString
in class Enum<CreateTableQuery.ColumnConstraint>
Copyright © 2006–2021 OpenHMS. All rights reserved.