public static enum SwiftProperties.Optionality extends java.lang.Enum<SwiftProperties.Optionality>
| Enum Constant and Description |
|---|
REQUIRED_FIELDS_MAY_BE_ABSENT
Allows required fields to be absent, useful when working with projections.
|
STRICT
WARNING: this mode is unsafe when used in conjunction with projections, as a read/modify/coercerOutput
pattern on a projection could result in the default value of primitives (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
static SwiftProperties.Optionality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SwiftProperties.Optionality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwiftProperties.Optionality REQUIRED_FIELDS_MAY_BE_ABSENT
public static final SwiftProperties.Optionality STRICT
public static SwiftProperties.Optionality[] values()
for (SwiftProperties.Optionality c : SwiftProperties.Optionality.values()) System.out.println(c);
public static SwiftProperties.Optionality 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 null