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