public enum TableConstraintType extends java.lang.Enum<TableConstraintType> implements ConstraintType
| Enum Constant and Description |
|---|
check |
foreign_key |
primary_key |
unique |
unknown |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getValue()
Gets the value.
|
static TableConstraintType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableConstraintType |
valueOfFromValue(java.lang.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 TableConstraintType[] values()
for (TableConstraintType c : TableConstraintType.values()) System.out.println(c);
public static TableConstraintType 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 nullpublic static TableConstraintType valueOfFromValue(java.lang.String value)
value - Sort sequence code.public final java.lang.String getValue()
getValue in interface ConstraintTypeCopyright © 2000-2018 Sualeh Fatehi. All rights reserved.