public enum Nullability extends Enum<Nullability>
Enum Constant and Description |
---|
FORCED_NOT_NULL |
FORCED_NULL |
NO_CONSTRAINT |
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 FORCED_NULL
public static final Nullability FORCED_NOT_NULL
public static final Nullability NO_CONSTRAINT
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 © 2021 JBoss by Red Hat. All rights reserved.