public enum Specification extends Enum<Specification>
| Enum Constant and Description |
|---|
AUTO_INCREMENT |
NOT_NULL |
PRIMARY_KEY |
UNIQUE |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static Specification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Specification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Specification NOT_NULL
public static final Specification UNIQUE
public static final Specification PRIMARY_KEY
public static final Specification AUTO_INCREMENT
public static Specification[] values()
for (Specification c : Specification.values()) System.out.println(c);
public static Specification 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 getValue()
Copyright © 2014. All Rights Reserved.