public enum Nullability extends Enum<Nullability>
Enum Constant and Description |
---|
NON_NULL
Indicating that a column does not allow
NULL values. |
NULLABLE
Indicating that a column does allow
NULL values. |
UNKNOWN
Indicating that the nullability of a column's values is unknown.
|
Modifier and Type | Method and Description |
---|---|
static Nullability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Nullability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Nullability NULLABLE
NULL
values.public static final Nullability NON_NULL
NULL
values.public static final Nullability UNKNOWN
public static Nullability[] values()
for (Nullability c : Nullability.values()) System.out.println(c);
public static Nullability 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 nullCopyright © 2022. All rights reserved.