public enum TableConstraintType extends Enum<TableConstraintType>
| Enum Constant and Description |
|---|
alternate_key |
check |
foreign_key |
primary_key |
unique |
unknown |
weak_association |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
Gets the value.
|
static TableConstraintType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableConstraintType |
valueOfFromValue(String value)
Find the enumeration value corresponding to the string.
|
static TableConstraintType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableConstraintType unknown
public static final TableConstraintType primary_key
public static final TableConstraintType foreign_key
public static final TableConstraintType unique
public static final TableConstraintType check
public static final TableConstraintType alternate_key
public static final TableConstraintType weak_association
public static TableConstraintType[] values()
for (TableConstraintType c : TableConstraintType.values()) System.out.println(c);
public static TableConstraintType 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 static TableConstraintType valueOfFromValue(String value)
value - Sort sequence code.public final String getValue()
Copyright © 2000-2024 Sualeh Fatehi. All rights reserved.