Enum Constant and Description |
---|
READ_ONLY
Indicates that a field should only be used when instantiating the
interface out of the HTTP request body.
|
READ_WRITE
Indicates that a field should be used when instantiating the interface
out of the HTTP request body and also when representing the type.
|
WRITE_ONLY
Indicates that a field should only be used when instantiating the
interface out of the HTTP request body.
|
Modifier and Type | Method and Description |
---|---|
static FieldMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FieldMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FieldMode READ_ONLY
A field with this mode will be ignored instantiating the interface out of the HTTP request body.
Opposite attribute to WRITE_ONLY
.
WRITE_ONLY
public static final FieldMode READ_WRITE
READ_ONLY
and WRITE_ONLY
together
public static FieldMode[] values()
for (FieldMode c : FieldMode.values()) System.out.println(c);
public static FieldMode 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