public static enum TableConstraint.ConstraintType extends Enum<TableConstraint.ConstraintType>
Enum Constant and Description |
---|
ACCESS_PATTERN |
FOREIGN_KEY |
INDEX |
PRIMARY_KEY |
UNIQUE |
Modifier and Type | Method and Description |
---|---|
String |
toValue() |
static TableConstraint.ConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableConstraint.ConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableConstraint.ConstraintType ACCESS_PATTERN
public static final TableConstraint.ConstraintType FOREIGN_KEY
public static final TableConstraint.ConstraintType INDEX
public static final TableConstraint.ConstraintType PRIMARY_KEY
public static final TableConstraint.ConstraintType UNIQUE
public static TableConstraint.ConstraintType[] values()
for (TableConstraint.ConstraintType c : TableConstraint.ConstraintType.values()) System.out.println(c);
public static TableConstraint.ConstraintType 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 toValue()
Copyright © 2013–2019. All rights reserved.